Modal 3 – Authentication modal
- from @shadcncraft
A centered, medium-width modal designed specifically for sign-in flows. It uses a clear vertical layout with a strong heading, supporting text, and stacked form fields. Primary actions are visually anchored at the bottom with a full-width button, while secondary auth options are separated by a subtle divider to reduce cognitive load. Includes an inline close control, generous spacing, and soft elevation to keep focus on the task without feeling heavy. Optimized for quick entry, scanning, and repeated use.
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/modal-3Registry dependencies6
- button
- card
- dialog
- field
- input
- input-group
