Marketing sectionsNewsletterCentered

Open in Create
Search
astronomic.dev

NewsletterCentered

Free

To ask for email signups in a centered block, such as near the end of a page or on the band.

File
NewsletterCentered.astro
Group
Marketing sections
Kind
Interactive: inline script
Examples
2
import NewsletterCentered from "@astronomic-dev/ui/components/NewsletterCentered.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

Centered

The header centered, then the form under it at a reading width (at most 28rem), the field and button in one row where they fit, with its label shown. It posts to # here. For the heading beside the form, use NewsletterInline.

main.astro

On the band

tone="band": the section takes the band's background, an edge and padding, and the recipe gives the heading, the text, the form's labels, the button and every focus ring the band's colors. A band shows when a preset sets --ui-band; without one, it is the page, with the edge.

band.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.