BETTER-AUTH. UI
Components

<ResetPassword />

Renders a Solid form for setting a new password with a reset token.

Usage

import { ResetPassword } from "@/components/auth/reset-password"

export function ResetPasswordDemo() {
  return <ResetPassword />
}

Installation

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

After install, src/components/auth/reset-password.tsx and the copied reset-password files are app-owned. Pass token from your Solid router when you do not want the component to read it from the URL query string.

Props

Prop

Type

Last updated on

On this page