auth-modal
componentry/auth-modalFreeComponent
A premium, animated authentication modal with social login options.
Live preview
live · rendered by the registry
Rendered by componentry on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://componentry.dev/r/auth-modal.jsonSource
1"use client"23import * as React from "react"4import { motion, AnimatePresence, type Variants } from "framer-motion"5import { X, Mail, ArrowRight } from "lucide-react"6import { cn } from "@/lib/utils"78// Dummy icons for Google and Microsoft as Lucide doesn't have them9const GoogleIcon = ({ className }: { className?: string }) => (10 <svg11 viewBox="0 0 24 24"12 className={className}13 fill="currentColor"14 >15 <path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" fill="#4285F4" />16 <path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853" />17 <path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="#FBBC05" />18 <path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335" />19 </svg>20)2122const MicrosoftIcon = ({ className }: { className?: string }) => (23 <svg viewBox="0 0 88 88" className={className}>24 <path fill="#f35325" d="M0 0h42v42H0z" />25 <path fill="#81bc06" d="M46 0h42v42H46z" />26 <path fill="#05a6f0" d="M0 46h42v42H0z" />27 <path fill="#ffba08" d="M46 46h42v42H46z" />28 </svg>29)3031const AppleIcon = ({ className }: { className?: string }) => (32 <svg33 viewBox="0 0 24 24"34 className={className}35 fill="currentColor"36 >37 <path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701" />38 </svg>39)4041const TwitterIcon = ({ className }: { className?: string }) => (42 <svg43 viewBox="0 0 24 24"44 className={className}45 fill="currentColor"46 >47// … truncated
More from componentry
All 59 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Animated Gradientanimated-gradient | componentry | Components | Free | no deps | |
| ASCII Effectascii-effect | componentry | Components | Free | no deps | |
| Aurora Flowaurora-flow | componentry | Components | Free | no deps | |
| border-beamborder-beam | componentry | Components | Free | no deps | |
| circuit-boardcircuit-board | componentry | Components | Free | no deps | |
| closing-plasmaclosing-plasma | componentry | Components | Free | no deps | |
| collection-surfercollection-surfer | componentry | Components | Free | no deps | |
| Command Menucommand-menu | componentry | Components | Free | no deps |
