Components
<ResetPasswordEmail />
Email template component that sends password reset links to users.
Usage
import { ResetPasswordEmail } from "@better-auth-ui/react"
export function PasswordResetEmail() {
return (
<ResetPasswordEmail
url="https://example.com/reset-password?token=example-token"
email="user@example.com"
appName="My App"
expirationMinutes={60}
logoURL="https://example.com/logo.png"
darkMode={true}
/>
)
}Installation
npx shadcn@latest add https://better-auth-ui.com/r/reset-password-email.jsonProps
Prop
Type
Features
- Password reset button and fallback URL
- Expiration time information
- Security notice for unauthorized requests
- Customizable branding and styling
- Support for light/dark mode themes
- Localization support
Last updated on