Newsletter
Built on the NewsletterForm component. The form posts to your mailing
list provider; after it responds, render the section again with state
to show the result. No JavaScript is involved.
Options
Section titled “Options”title: required;textandeyebrowoptionallayout:centered(default),split(text start, form end)surface:light,alternate(default),brand,darkconsent: label for a required consent checkboxaction,label,placeholder,button: passed to the formstate:successreplaces the form with a success Notice;errorshows a critical Notice above the form (data-state)successTitle,successText,errorTitle,errorText: the Notice copyid: prefix for field ids, needed when a page has more than one signup
<Newsletter title="Release notes by email" text="One email when a version ships, with what changed." action="https://lists.example.com/subscribe" consent="I agree to receive emails and accept the privacy policy."/>