An animated authentication modal with social login buttons and email sign-in, opened from a trigger button.
import { AuthModal } from "@/components/ui/auth-modal"; export default function AuthModalDemo() { return ( <div className="flex min-h-[400px] w-full items-center justify-center"> <AuthModal triggerText="Sign up / Sign in" onLogin={(provider) => console.log(`Login with ${provider}`)} /> </div> ); }