Components
Sign Up
A Better Auth email/password registration card with TanStack Form validation and localized labels.
Install
Add this registry item to your app with shadcn.
bunx --bun shadcn@latest add https://krakstack.net/r/sign-up.jsonOverview
sign-up provides a self-contained account creation card for Better Auth projects. It creates users through authClient.signUp.email(), displays form-level errors, and links back to the sign-in route.
Features
- Better Auth email/password registration
- Name, email, and password fields
- TanStack Form state and submit handling
- Localized labels, descriptions, and errors
Usage
import { SignUp } from "@/components/ui/sign-up";
<main className="grid min-h-screen place-items-center px-6 py-10">
<SignUp />
</main>Dependencies
Packages and shadcn components required by this registry item.
Dependencies
Registry Dependencies
Preview
Sign Up Form
This preview renders the site-local Better Auth email/password registration component.
Create account
Create an account for this site.
Already have an account? Sign in