Forgot Password 4 - Inline toggle within login cardPro

A sign-in card that flips to a password reset form in place when the user clicks “Forgot password?”, with a sliding transition and a back button. Use it to keep recovery one click away without navigating to a separate page.

About Forgot Password 4

A sign-in card that flips to a password reset form in place when the user clicks “Forgot password?”, with a sliding transition and a back button. Use it to keep recovery one click away without navigating to a separate page.

Forgot Password 4 is a pro forgot password block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 111 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • forgot password
  • login
  • toggle
  • inline
  • auth
  • card

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/forgot-password-04

Dependencies installed automatically: lucide-react, motion.

Uses: button, input, label, reveal, use-reduced-motion, utils.

Usage

import ForgotPassword04 from "@/components/blocks/forgot-password-04"

export default function Page() {
  return <ForgotPassword04 />
}

FAQ