# Application Reset Password: Security Question Reset

A reset password form that verifies identity with a saved security question and answer before allowing a new password. Use as a passwordless recovery path.

- Page: https://www.shadcn-ui-blocks.com/blocks/application/reset-password/security-question-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/security-question-reset.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-reset-password-security-question-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-security-question-reset.json"`.

## Depends on

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

## About this block

Security Question Reset is a four-step recovery card. A centred icon and
title sit at the top, beneath a four-segment progress bar that fills as
the user advances. Step one collects an email address and username to
locate the account. Step two surfaces a "Account Found" summary row with
a "Pending Verification" badge, a warning alert, and a security question
select with a free-text answer field. Step three shows a green
verification alert and two password inputs, each with a visibility
toggle. Step four replaces the form with a large success icon, a
confirmation message, a "Sign In" button, and a bulleted list of security
recommendations. A footer below the card carries a "Sign in instead" link
and, on steps two and three, a "Start over" control.

The card holds all four steps in a single container, so you can adjust
the copy at each step, swap or trim the list of security questions, and
remove the recommendations panel without touching the step logic. The
progress bar, icon, and description update automatically based on the
active step.

## When to use

Reach for this block when your product stores a security question on
signup and you want to offer a recovery path that works without email
access. It suits developer tools platforms where CLI or API users may
have unstable email delivery but know their account credentials well. It
is a better fit than the
[Email OTP Reset](https://www.shadcn-ui-blocks.com/blocks/application/reset-password/email-otp-reset)
when email is unreliable, and a better fit than the
[Simple Reset](https://www.shadcn-ui-blocks.com/blocks/application/reset-password/simple-reset) when the
reset link flow is unavailable or you need an extra identity check before
allowing a password change.

A natural flow around it on an Application page:

**Before**

- [Login](https://www.shadcn-ui-blocks.com/blocks/application/login) so users arrive here directly from
  a failed sign-in attempt
- A short notice or status banner explaining that the account is locked

**After**

- [User Profiles](https://www.shadcn-ui-blocks.com/blocks/application/user-profiles) so users can review
  or update their security question once back inside the product
- [Form Layouts](https://www.shadcn-ui-blocks.com/blocks/application/form-layouts) for any onboarding
  step that follows a successful recovery

## What you can customize

The block covers the full self-service recovery journey in one card, and
each step is independently editable:

- **Security question list.** Swap the default questions for ones that
  match the data your product collected at signup, or reduce the list to
  a single fixed question.
- **Password rules hint.** The field description under "New Password"
  states the complexity requirement; update it to reflect your actual
  validation rules.
- **Success recommendations.** The bulleted panel at the end lists
  general security tips; replace or remove those items to match your
  platform's guidance.

> Tip: if your backend returns the specific question tied to the account
> rather than letting the user choose, replace the Select with a read-only
> field so users cannot cycle through questions until one matches.

## More in Application Reset Password

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