A closing section on a full field of your primary colour: a large headline and one sentence beside a labelled email form. It validates on the client (empty and malformed addresses, with a specific message tied to the field by aria-describedby), shows a sending state, then swaps to a success message with a way back. Pass onSubmit to call your own API; a rejected promise shows a retry message.
Components
Components
A complete marketing page for a fictional release-planning product, split into section files: sticky header with a mobile menu, hero with a product mock built from markup and a customer logo row, a feature grid with small illustrations, testimonials, pricing with a monthly or yearly switch, an FAQ using native disclosure elements, an email call to action with validation, and a footer. Everything uses theme tokens, so it follows the installed theme in light and dark mode.
Sign-in card
FreeAn email and password sign-in card with generic Continue with buttons (passkey and SSO, lucide icons, no brand logos), a show or hide password toggle, remember me, a forgot password link and a link to sign up. Fields validate on blur and on submit with messages tied to each input, the first invalid field takes focus, and the button shows a loading state. onSubmit can return a message to show as a form error; the demo rejects the password wrong-password.
Settings panel
FreeAn account settings page in labelled sections that sit in two columns on wide screens and stack on small ones. The profile form has a local photo preview, name, email, username, time zone and a bio with a character count; it tracks unsaved changes, validates inline with focus on the first error, and shows saving and saved states. Notification rows use accessible switches (one locked on), and the danger zone deletes only after the workspace name is typed in a focus-trapped confirm dialog. Switch and SettingsSection are exported.
Adds friction to risky actions in two modes. Slide: drag a round knob along a pill track that fills behind it; letting go before 90% springs it back, reaching the end locks it with a check and a green track. Hold: press and hold a button whose background fills over a set time and drains back at double speed if released early. A tick ruler under both lights segment by segment. onConfirm may return a promise, which shows a spinner until it settles and then success or an inline error with Retry. An optional Undo appears for a set window, after which it resets or stays done. The slider works with arrow keys, End or Enter and Escape, the hold button with Space or Enter, touch works through pointer capture, the result is announced, and reduced motion swaps the spring for a snap.
