Forgot Password Form
Free Forms React component — ForgotPasswordForm. MIT licensed, copy-paste ready for Next.js and Tailwind CSS.
Password reset request form with email validation, loading state, success screen, and back-to-login navigation.
Preview
Setup
How to use
Free for personal and commercial use. No UI attribution required. Include the MIT copyright notice when copying component source into your project. Read the MIT license.
- 1
Run in your terminal:
$npm install clsx tailwind-merge lucide-react - 2
Copy
lib/cn.tsbelow. Skip if you already havecn(). - 3
Copy the code below and create
components/forms/forgot-password-form.tsxin your project. - 4
Import and render:
Exampleimport { ForgotPasswordForm } from "@/components/forms/forgot-password-form";
lib/cn.ts
import { cn } from '@/lib/cn';// Full source is available in the repository checkout.
components/forms/forgot-password-form.tsx
// Full source: components/components/forms/forgot-password-form.tsx// The Cloudflare worker does not expose the source tree at request time.