Auth

Forgot Password Form

Ask for the account email, then confirm that a link is on its way without revealing whether the account exists.
import { ForgotPasswordForm } from "pleate/auth/forgot-password-form";

Request a reset link

Reset your password

Enter the email you use for Plate and we'll send you a link.

Props

onSubmit

The confirmation shows when it resolves.

({ email }) => void | Promise

sent / onSentChange

Control the confirmation yourself.

boolean / (sent) => void

loading / error / fieldErrors

Busy button, a banner above the fields, and server messages per field (they replace the client ones).

boolean / string / Partial<Record<field, string>>

footer / defaultEmail

Back link; prefill.

ReactNode / string

labels

Every visible string, for your wording or translation.

object

Accessibility

  • The confirmation is a status region, announced when it appears.