BETTER-AUTH. UI
Components

<ResetPasswordForm />

Secure form for users to set a new password after a reset request.

The <ResetPasswordForm /> is used in the password reset flow to securely update a user's password.

Installation

pnpm dlx shadcn@latest add https://stackproviders.github.io/better-auth-ui/r/auth.json
npx shadcn@latest add https://stackproviders.github.io/better-auth-ui/r/auth.json
yarn dlx shadcn@latest add https://stackproviders.github.io/better-auth-ui/r/auth.json
bun x shadcn@latest add https://stackproviders.github.io/better-auth-ui/r/auth.json

Usage

import { ResetPasswordForm } from "@/components/auth/forms/reset-password-form";

export default function ResetPasswordPage() {
  return <ResetPasswordForm />;
}

Reference

PropTypeDefault
passwordValidation?
PasswordValidation
-
localization
Partial<Partial<{ INVALID_USERNAME_OR_PASSWORD: string; EMAIL_NOT_VERIFIED: string; UNEXPECTED_ERROR: string; USERNAME_IS_ALREADY_TAKEN: string; USERNAME_TOO_SHORT: string; USERNAME_TOO_LONG: string; ... 358 more ...; UNKNOWN: string; }>>
-
classNames?
AuthFormClassNames
-
className?
string
-