Auth 3 – Magic link sign in
- from @shadcncraft
Magic-link (passwordless) sign-in page: one work-email field that emails a sign-in link, then a check-your-inbox state with a button that opens the mail app. Use when your app signs people in without passwords. Includes email domain typo correction, a resend countdown, a password fallback, and react-hook-form and zod validation.
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-3Registry dependencies4
- button
- field
- input
- spinner
