Components
<ResetPassword />
A reset password form component that allows users to set a new password using a reset token from their email.
Usage
import { ResetPassword } from "@/components/auth/reset-password"
function RouteComponent() {
return (
<div className="flex flex-col p-4 md:p-6 my-auto items-center">
<ResetPassword />
</div>
)
}import { ResetPassword } from "@better-auth-ui/shadcn"
function RouteComponent() {
return (
<div className="flex flex-col p-4 md:p-6 my-auto items-center">
<ResetPassword />
</div>
)
}Installation
npx shadcn@latest add https://better-auth-ui.com/r/reset-password.jsonProps
Prop
Type
Last updated on