Marketing Sections
v1.0.0Added in 1.7.0
A newsletter or product updates signup band for a marketing page: centered, split with the latest issue, a raised card or one compact row.
Type an email and press Subscribe or Enter. An invalid address shows an error under the field; a valid one turns the button into a spinner until onSubscribe settles (or 900 ms without it), then the form gives way to an inline success line and the reader count grows by one ("You and 12,400 others"). A rejected promise shows a retry message. The privacy line links to the privacy policy. On phones the field and button stack at full width with 44px targets. In the split layout the latest issue is one link card with a focus ring; the card layout puts the form in a raised card on a gray band with the benefits beside it; the inline layout fits icon, copy and form on one row from 1024px.
npx wingo-ui@latest add newsletter-sectionPro item: the CLI needs a Pro account. See plans