Sign upPro
Three-step sign-up: account, password with live rules and email code verification.
What's inside
- Social sign-up
- Live password rules
- Email code step
- Welcome state
When to use
- Your product's sign-up page.
When not to use
- Sign-in: use the sign-in block.
Installation
Usage
Import it from @/components/blocks/sign-up after installing. It ships with sample data, so it renders straight away; swap in your own data when you're ready.
import { SignUp } from "@/components/blocks/sign-up";
export default function Page() {
return (
<main className="grid min-h-dvh place-items-center p-6">
<SignUp />
</main>
);
}API reference
SignUp
Sign up in three steps: name and email (or Google / GitHub), a password with live rules and terms, then a 6-digit email code. Also the default export. No props: sample data sits at the top of the file, ready to swap for your own.
No props.
Keyboard interactions
| Keys | Action |
|---|---|
| Enter | Continue |
| 0–9 | Type the code |
| ⌘VorCtrl+V | Paste the code |
Accessibility
- Every field is labelled with autocomplete; errors use role="alert"; the welcome state is a status message.
Motion
- Steps slide; the progress dashes fill; the welcome check spins in.
Responsive behavior
- Up to 384px wide; fits at 320px.
Performance
- No dependencies beyond the password and code inputs.
Notes for AI
- Wire steps to your auth: create the user at step 2 and verify the code at step 3. Demo code: 123456.
This page as Markdown, for assistants and coding agents:
/blocks/sign-up/markdownThe full library index for assistants is at /llms.txt.
Lode222 doc pagesllms.txt