AccountRestore

Password reset and account recovery component with email verification.

Live Demo

Click the button to see the password reset modal

Installation

Terminal

Basic Usage

RecoveryPage.tsx

Props

PropTypeRequiredDescription
onSuccess() => voidNoCallback when reset email sent successfully
onError(error: Error) => voidNoCallback when reset fails
classNamestringNoAdditional CSS classes

API Usage

api-usage.ts

Features

✉️ Email Verification

Secure token-based password reset via email

⏱️ Token Expiration

Reset tokens expire after 1 hour

🔒 Password Validation

Enforces strong password requirements

📧 Custom Templates

Customize email templates