Velocity X Components

Forms

Newsletter — Inline Bar

A slim single-row email capture bar for footers or in-content placements.

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

Built for astro.

Full docs for Newsletter — Inline Bar →

astro v1.0.0
Newsletter — Inline Bar

Get occasional build notes

No spam, unsubscribe any time.

Props

NameTypeRequiredDefaultDescription
actionstringNo'#'
methodstringNo'POST'
headingstringNo'Get occasional build notes'
subheadingstringNo'No spam, unsubscribe any time.'
submitLabelstringNo'Subscribe'
placeholderstringNo'you@company.com'
classNamestringNo''

File this creates

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

text
components/velocity/newsletter-inline/NewsletterInline.astro

Using the Newsletter — Inline Bar component

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