Sign up form
An account-creation form with a password strength hint and terms.
When to use
- New users create an account.
- You want live checks before they submit.
When not to use
- Existing users are signing in; use the sign-in form.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/sign-up-form
Adds its 13 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
SignUpForm
9 props
PropTypeDefaultDescription
titlestring"Create your account"
descriptionstring—
onSubmit *(values: { name: string; email: string; password: string; }) => SignUpResult | Promise<SignUpResult>—
providersreadonly AuthProvider[]—
signIn{ href?: string | undefined; onClick?: (() => void) | undefined; }—
termsHrefstring—
privacyHrefstring—
minimumRulesnumber3How many password rules must be met before the form can be sent.
classNamestring—
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes alert semantics, with aria-label, aria-invalid and aria-describedby kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/sign-up-form.mdThe index of every part is at /llms.txt.