Velocity X Components

Long-form

Article Disclosure Banner

The affiliate/sponsored/review-unit disclosure strip that monetised long-form content needs near the top of the piece — calm, matter-of-fact copy with an optional link to a standing disclosure policy.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add article-disclosure-banner

Built for astro.

Full docs for Article Disclosure Banner →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.1
Article Disclosure Banner

Props

NameTypeRequiredDefaultDescription
variant'affiliate' | 'sponsored' | 'review-unit'No'affiliate'
textstringNo
policyUrlstringNo
policyLabelstringNo'Read our disclosure policy'

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/article-disclosure-banner/ArticleDisclosureBanner.astro

Using the Article Disclosure Banner component

Install it with velocityx add article-disclosure-banner. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Long-form.