Signup

A standalone inline email-capture form — an Input paired with a primary “Sign up” button that wraps below on narrow widths.

Install

Examples

Default

Custom labels

Set placeholder and button-label for other capture flows.

States

loading shows the button spinner while submitting; disabled turns the whole control off.

Live validation

Listen for submit, then set state and help-text from your handler. Try submitting empty, then “foo”, then a real email.

Guidelines

Usage

newsletter and waitlist capture inline on a page. For the full marketing block with heading and subtext, use Section Signup. Emits submit with the entered value; set state + help-text from your handler to show validation.

Do

  • Give immediate feedback on submit via state + help-text.
  • Show loading while the request is in flight.
  • Keep the button label action-led — “Sign up”, “Subscribe”.

Don’t

  • Don’t use it for full forms — compose Inputs and a Button instead.
  • Don’t leave a submit without feedback; always resolve to success or error.
  • Don’t rely on placeholder text as the field’s only accessible name.

Accessibility

Properties

Related