Marketing sectionsNewsletter

Open in Create
Search
astronomic.dev

Newsletter

Free

To build your own newsletter layout: a section heading and a signup form, on the page or on the band. For a ready layout, use NewsletterInline or NewsletterCentered.

File
Newsletter.astro
Group
Marketing sections
Kind
Static: no JavaScript
Examples
1
import Newsletter from "@astronomic-dev/ui/components/Newsletter.astro";

Examples

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

  • Static
  • Interactive
  • Framed

Slots

The section is a shell: the eyebrow, the heading and the text always show in that order, then the body in the default slot: here a SignupForm at a reading width. The shell sets the type, the gaps and, with tone="band", the surface; the recipes lay out the body and pass the tone to the form. NewsletterInline and NewsletterCentered are recipes built on it, and Pro adds NewsletterBenefits and NewsletterCard. The form posts to # here.

main.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.