Sign Up Form
Create account form with GitHub and Google buttons, required name, email and password fields, a submit button and a Sign in link, all inside an AuthCard.
src/registry/ui/sign-up-form.tsx/r/sign-up-form.json
Installation#
bash
npx shadcn@latest add @minidev/sign-up-form
MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/sign-up-form.json
Usage#
tsx
import { SignUpForm } from "@/components/ui/sign-up-form"
export function Example() {
return <SignUpForm />
}
API reference#
SignUpForm takes no props. It ships with realistic sample content: install it, then edit the copy and data in the file directly. The file is yours.
Dependencies#
npm
React only
Related auth components#
Auth CardCentered Tailwind sign in card with a title, optional description, a slot for fields and providers, and a divided footer for sign up or reset links.Forgot Password FormA password reset request card with one email field and a full width Send reset email button, composed from AuthCard, FormField and Input in React.Join WorkspaceA centered card for joining a team workspace with an invite code: heading, helper text, a monospace code input and a full width Join button. Tailwind styled.Magic Link FormA passwordless sign in card with an email field and a Send link button that passes the address to onSend. Built from AuthCard, FormField and Input.Otp InputA React one time code input where one real input powers the slots, so paste, SMS autofill and screen readers work natively. Has groups, error shake and success.Reset Password FormReset password card with new password and confirm password fields and a full-width Update password button, built from AuthCard, FormField and Input in React.
All login and signup components