Sign-up form
Auth5 pieces3 statesCreate an account with full name, email and password. A strength bar under the password guides the user, the terms checkbox is required, and a server error (email already taken) shows in a Banner.
In every theme
Same block, same props. Only the tokens change.
Pulse
HealthRelay
SaaSStates
default · error · loading
default
error
loading
Built from the library
Every piece links to its own spec.
| Prop | Type | Description |
|---|---|---|
| onSubmit | (values: { name: string; email: string; password: string }) => void | Called only when every field is valid and the terms are accepted. |
| error | string | Server error, e.g. 'An account with this email already exists'. |
| loading | boolean | Button shows the spinner and 'Creating account'. |
| onLogIn | () => void | Shows 'Already have an account? Log in' under the button. |
| termsHref | string | Link inside the terms checkbox label. |
$
npx shadcn add https://unbuiltui.com/r/signup-form.json