# Application Form: Password Strength Form

Change password card with current and new fields, a live requirement checklist, a four segment strength meter, a confirm field, and a footer action.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/password-strength-form
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Forms](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/password-strength-form.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-forms-password-strength-form
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, input, label
- Installs to: `@/components/blocks/application-pro/forms/password-strength-form`

## About this block

Password Strength Form is a change password card with a
live requirement checklist. Current password, new password,
and confirm fields stack inside one card. As the new
password is typed, four rules tick off (at least 12
characters, mixed case, a number, and a symbol) and a four
segment strength meter fills from Too weak to Strong, with
the plain language label sitting in the field row.

The rules live in a typed array, each carrying a test
function, and the count of passing rules drives both the
meter segments and the checklist icons. The confirm field
reports a mismatch inline the moment the two values
diverge, and Update password stays disabled until every
rule passes and the passwords match. The footer notes that
other active sessions stay signed in until they expire.

## When to use

Reach for this block on a security settings page or an
account recovery flow, wired to your password policy and
change endpoint. Copy the rule array into your validator so
the checklist and the server enforce the exact same rules,
never two different sets.

A natural flow around it on an Application Pro page:

**Before**

- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)

**After**

- [Profile account](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account)
- [Auth pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages)

## What you can display

One strong use is the in-app change password card. Other
strength checked fields:

- **Signup password.** Same checklist on account creation,
  with the strength label guiding a first choice.
- **Passphrase reset.** A longer minimum length rule and a
  meter that rewards spaces over symbols.
- **API secret rotation.** Entropy rules on a generated
  secret with a match field before the old key is revoked.

> Tip: keeping submit disabled until every rule passes is
> what stops a weak password reaching the server at all.

## More in Application Forms

- [Address Form Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/address-form-card)
- [API Token Create Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/api-token-create-form)
- [Bulk Import CSV Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/bulk-import-csv-card)
- [Conditional Fields Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/conditional-fields-form)
- [Create Project Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/create-project-form)
- [Cron Schedule Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/cron-schedule-form)
- [Danger Zone Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/danger-zone-form)
- [Date Range Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/date-range-form)
- [Feedback Form Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/feedback-form-card)
- [File Field Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/file-field-form)
- [Inline Edit Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/inline-edit-form)
- [Inline Validation Fields](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/inline-validation-fields)
- [Managed Fields Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/managed-fields-form)
- [Multi Step Form Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/multi-step-form-panel)
- [Notification Matrix Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/notification-matrix-form)
- [Payment Details Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/payment-details-form)
- [Query Builder Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/query-builder-form)
- [Repeatable Rows Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/repeatable-rows-form)
- [Review and Submit Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/review-and-submit-card)
- [Rich Text Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/rich-text-form)
- [Searchable Select Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/searchable-select-blueprint)
- [Settings Form Two Col](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/settings-form-two-col)
- [Stepper Wizard Review](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/stepper-wizard-review)
- [Tag Input Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/tag-input-form)
- [Threshold Slider Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/threshold-slider-form)
- [Unsaved Changes Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/unsaved-changes-form)
- [Validation States Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/validation-states-form)
- [View Only Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/view-only-form)
- [Weekly Hours Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/forms/weekly-hours-form)
