Open a sub-component to view its docs and settings.
Set-new-password composition for users who arrived via a recovery link.
Validate the reset token server-side before accepting the new password. Enforce password policy and confirmation match. On success, invalidate the token and route to sign-in.
| Prop | Type | Default | Description |
|---|---|---|---|
email | string | — | Configures email. |
name | string | — | Configures name. |
password | string | — | Configures password. |
confirmPassword | string | — | Configures confirm password. |
currentPassword | string | — | Configures current password. |
remember | boolean | false | Configures remember. |
submitLabel | string | Update password | Configures submit label. |
subtitle | string | Choose a new password for your account. | Configures subtitle. |
title | string | Reset password | Configures title. |
verificationCode | string | — | Configures verification code. |
Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…