Auth 2 – Minimal social-first sign in
- from @shadcncraft
Minimal centered sign-in page with no card: Google, Apple and SSO buttons first, then a work-email step that reveals the password field. Use when most people sign in with a provider; prefer auth-1 for a split layout. Includes react-hook-form and zod validation, a loading state and a wrong-password error linking to reset.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcncraft/auth-2Registry dependencies5
- button
- field
- input
- input-group
- spinner
