Velocity X Components

Forms

Newsletter — Card

Standalone card-format newsletter opt-in with an icon badge and privacy microcopy.

Free MIT licensed. Install it with the CLI — no account, no key.
bash
$ velocityx add newsletter-card

Built for astro.

Full docs for Newsletter — Card →

astro v1.0.0
Newsletter — Card

Newsletter

One email, every other Friday.

The build notes, design decisions, and what's shipping next — no fluff.

Unsubscribe any time. We never share your email.

Props

NameTypeRequiredDefaultDescription
actionstringNo'#'
methodstringNo'POST'
eyebrowstringNo'Newsletter'
headingstringNo'One email, every other Friday.'
subheadingstringNo"The build notes, design decisions, and what's shipping next — no fluff."
submitLabelstringNo'Join the list'
privacyNotestringNo'Unsubscribe any time. We never share your email.'
classNamestringNo''

File this creates

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

text
components/velocity/newsletter-card/NewsletterCard.astro

Using the Newsletter — Card component

Install it with velocityx add newsletter-card. 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 Forms.