Components
Component Subscribe
A heading and an email field in a pill whose button carries sending, success and failure: Subscribe Input as a section of its own.
Made for the page builder — try it there
Try it in the page builderBlocks come with Pro and Ultimate
Preview every block now, in any theme and at any width. The source, the install command and your registry token come with a Pro or Ultimate plan.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | "Notes from the studio, once a month" | The block's h2. |
| lead | string | a line about the newsletter | A line under the heading; empty for none. |
| placeholder | string | "Your email" | The field's placeholder and accessible name. |
| submitLabel | string | "Subscribe" | The button's accessible name. |
| successMessage | string | "Thanks — please check your inbox." | What the field says once the address is sent. |
| note | string | no spam, one-click leave | A small line under the field; empty for none. |
| layout | "centred" | "split" | "image" | "photos" | "centred" | centred: one narrow centred column. split: the text beside the field from 1024px. image: the title, text and field in a card box beside a photo (first and 1.18 : 1 on phones). photos (Kendi): three tilted photos (Framebrick UI photo-fan) over the centred column; they straighten and spread while the row is pointed at or focused. |
| image | { src, alt? } | — | layout="image": the photo (decorative unless it has alt text). |
| onSubscribe | (email: string) => Promise<void> | void | — | Sends the address: a server action, or a function from a client component. Throw to show the error. Without it the field only pretends to send. |
| photos | { src, alt, href? }[] | 3 posts | layout="photos": left, middle and right; each a link to its post when it has an href (alt names the link). |
| className | string | — | Classes for the <section>. |
- layout="photos" (Kendi, v19): Framebrick UI photo-fan, tilt 15° and tuck 40px, 600ms. Kendi's consent checkbox is not drawn — the field is its own form, so put the consent words in note.
- Sending is yours: without onSubscribe the field waits 0.9 s and says thanks, so the section can be tried as it is.
- The field's states are Subscribe Input's: sending, success and failure on the round button, announced to screen readers.











