Newsletter form
A plain POST form: point action at the mailing list provider. The field
and button share a row, stacking below 30rem. The email field is required
and uses autocomplete="email".
Options
Section titled “Options”id: prefix for the field ids (default"newsletter"); set it when a page has more than one formaction: form action URL (default"#")label: field label (default"Email address")placeholder: default"you@example.com"button: button text (default"Subscribe")consent: label for a required consent checkboxsize:compactorregular(default)
<NewsletterForm action="https://example.com/subscribe" />