Skip to content
esc

Sign-up form

Auth5 pieces3 states

Create 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.

View code

In every theme

Same block, same props. Only the tokens change.

Create your account

It takes less than a minute.

8 or more characters. Mix cases and add a number to make it stronger.

Already have an account?

Ledger

Fintech

Create your account

It takes less than a minute.

8 or more characters. Mix cases and add a number to make it stronger.

Already have an account?

Pulse

Health

Create your account

It takes less than a minute.

8 or more characters. Mix cases and add a number to make it stronger.

Already have an account?

Relay

SaaS

States

default · error · loading

Create your account

It takes less than a minute.

8 or more characters. Mix cases and add a number to make it stronger.

Already have an account?

default

Create your account

It takes less than a minute.

8 or more characters. Mix cases and add a number to make it stronger.

Already have an account?

error

Create your account

It takes less than a minute.

8 or more characters. Mix cases and add a number to make it stronger.

Already have an account?

loading

Built from the library

Every piece links to its own spec.

PropTypeDescription
onSubmit(values: { name: string; email: string; password: string }) => voidCalled only when every field is valid and the terms are accepted.
errorstringServer error, e.g. 'An account with this email already exists'.
loadingbooleanButton shows the spinner and 'Creating account'.
onLogIn() => voidShows 'Already have an account? Log in' under the button.
termsHrefstringLink inside the terms checkbox label.
$npx shadcn add https://unbuiltui.com/r/signup-form.json