Search documentation

Search guides, examples, and component APIs.

Quick links
↑↓ NavigateEnter OpenEsc Close
Get started

Blocks / Authentication

Forgot password

Request a reset link by email, then land on a check-your-inbox confirmation with an illustration, mail shortcuts, and next steps.

bunx --bun @getweini/cli@latest add alert button card input link
Customize
  • The block is controlled by `sent`. Emit `submit` to your server, then set `sent` to true once it succeeds; the card swaps to the confirmation without a page change.
  • The confirmation repeats the address in a chip whose Change button emits `change`, offers Gmail and Outlook shortcuts, and emits `resend` from the card footer. Pass `loading` while a request runs and `error` if it fails.
  • Show the same confirmation whether or not the account exists, so the form does not reveal registered emails. The default copy is written that way.
  • The envelope illustration is inline SVG drawn from theme tokens, so it follows light and dark. Every string lives in the `copy` prop; replace the `#sign-in` and `#support` links with your routes and drop mail shortcuts your audience does not use.