Components
<MagicLinkEmail />
Email template component that sends magic link authentication emails for passwordless sign-in.
Usage
import { MagicLinkEmail } from "@better-auth-ui/heroui"
export function MagicLinkAuthEmail() {
return (
<MagicLinkEmail
url="https://example.com/auth/verify?token=example-token"
email="user@example.com"
appName="My App"
expirationMinutes={5}
darkMode={true}
/>
)
}Props
Prop
Type
Features
- Sign-in button with magic link
- Fallback URL for manual copy/paste
- Expiration time information
- Security notice for unauthorized requests
- Customizable branding and styling
- Support for light/dark mode themes
- Localization support
Last updated on