Magic Link 4 - Sign-in modalPro
A page section with a CTA that opens a dialog for magic link sign-in, switching inside the modal from the email form to a sent confirmation. Use it to let visitors sign in from a marketing page or gated feature without leaving it.
About Magic Link 4
A page section with a CTA that opens a dialog for magic link sign-in, switching inside the modal from the email form to a sent confirmation. Use it to let visitors sign in from a marketing page or gated feature without leaving it.
Magic Link 4 is a pro magic link block for React, built on shadcn/ui and Tailwind CSS. It ships as 105 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- magic link
- modal
- dialog
- passwordless
- sign in
- auth
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/magic-link-04Dependencies installed automatically: lucide-react.
Uses: button, dialog, input, label, reveal, utils.
Usage
import MagicLink04 from "@/components/blocks/magic-link-04"
export default function Page() {
return <MagicLink04 />
}