Forms
Newsletter — Inline Bar
A slim single-row email capture bar for footers or in-content placements.
$ velocityx add newsletter-inline Built for astro.
Full docs for Newsletter — Inline Bar →
Get occasional build notes
No spam, unsubscribe any time.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| action | string | No | '#' | |
| method | string | No | 'POST' | |
| heading | string | No | 'Get occasional build notes' | |
| subheading | string | No | 'No spam, unsubscribe any time.' | |
| submitLabel | string | No | 'Subscribe' | |
| placeholder | string | No | 'you@company.com' | |
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
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.
Related components
More from Forms.
Multi-select add-on cards with the radio-card visual language but native checkbox semantics, zero JS.
astroSingle-column name/email/subject/message contact form with a honeypot field, Netlify Forms opt-in, and a presentational action prop.
astroTwo-column contact layout with a named aside slot for a map or office photo, stacking to one column on mobile.
astroVertical catalog filter stack with collapsible checkbox groups and a price range, built on native details elements.
astro