BETTER-AUTH. UI
Components

<ForgotPassword />

A forgot password form component that allows users to request a password reset link via email.

Usage

import { ForgotPassword } from "@/components/auth/forgot-password"

function RouteComponent() {
  return (
    <div className="flex flex-col p-4 md:p-6 my-auto items-center">
      <ForgotPassword />
    </div>
  )
}
import { ForgotPassword } from "@better-auth-ui/shadcn"

function RouteComponent() {
  return (
    <div className="flex flex-col p-4 md:p-6 my-auto items-center">
      <ForgotPassword />
    </div>
  )
}

Installation

npx shadcn@latest add https://better-auth-ui.com/r/forgot-password.json

Props

Prop

Type

Last updated on

On this page