# Application Reset Password: Token Reset

A reset password form that reads a token from the recovery link, confirms it, then collects a new password. Use to complete a tokened email reset flow.

- Page: https://www.shadcn-ui-blocks.com/blocks/application/reset-password/token-reset
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application), Free tier
- Group: [Reset Password](https://www.shadcn-ui-blocks.com/blocks/application/reset-password)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application/reset-password/token-reset.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-reset-password-token-reset
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/application-reset-password-token-reset.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: alert, button, card, field, input, label, separator
- Installs to: `@/components/blocks/application/reset-password/token-reset`

## About this block

Token Reset is a three-step card that walks a user through completing an
email recovery flow. Step one shows a centered key icon, a title, and a
single code field where the user enters the 6 to 8 character token from
their inbox. Step two swaps the header for a lock icon, confirms identity
with a blue alert banner, and presents a new password field and a confirm
field, each with an eye toggle to reveal the value. Step three replaces the
form with a green confirmation panel and a sign-in button. A small numbered
step indicator row with a connecting bar sits above every form so users
always know where they are in the sequence.

Each step's header copy, field labels, and helper text are plain strings you
can update to match your product's voice. The three-step structure is fixed,
but the alert message on step two and the success text on step three can be
reworded freely. The "Sign in" and "Contact support" footer links are
placeholder anchors you wire to your own routes.

## When to use

Reach for this block at the end of a tokened email recovery flow, on the
route your reset email links to. It suits healthcare scheduling portals and
similar regulated products where showing the user explicit confirmation at
each gate builds trust before they regain access to sensitive data. Compared
to [Simple Reset](https://www.shadcn-ui-blocks.com/blocks/application/reset-password/simple-reset), which
assumes the token was already validated server-side, this block surfaces the
verification step to the user so they understand why they must act before
setting a new password.

A natural flow around it on an Application page:

**Before**

- A [Login](https://www.shadcn-ui-blocks.com/blocks/application/login) block so users who remember their
  credentials can skip recovery entirely
- A short instructional notice explaining that a reset link was sent

**After**

- A [User Profiles](https://www.shadcn-ui-blocks.com/blocks/application/user-profiles) group page so
  returning patients can update their contact details after signing back in
- A plain confirmation message or redirect to the dashboard

## What you can customize

The block covers three distinct moments in one card; here is what you can
adapt at each stage:

- **Token field.** Swap the placeholder and helper text to reflect your
  token format, whether that is a short numeric code or a longer alphanumeric
  string.
- **Password requirements hint.** The description below the new password
  field lists your complexity rules; update it to match whatever your
  backend enforces.
- **Completion panel.** Replace the success message and the sign-in link
  href to send users directly to the correct post-login destination in your
  scheduling app.

> Tip: wire the "Verify Code" submit handler to a real token validation
> endpoint before advancing to step two so invalid tokens never reach the
> password form.

## More in Application Reset Password

- [Email OTP Reset](https://www.shadcn-ui-blocks.com/blocks/application/reset-password/email-otp-reset)
- [Security Question Reset](https://www.shadcn-ui-blocks.com/blocks/application/reset-password/security-question-reset)
- [Simple Reset](https://www.shadcn-ui-blocks.com/blocks/application/reset-password/simple-reset)
