Skip to content

Password strength meter

Rates a password by its length and character mix.

Password strengthStrong
password-strength-meter-demo.tsx

Installation

The CLI adds the files, packages, theme variables, and Tailwind plugin that this component uses. Before you run it, set up your project.

With password field

Also install Password field.

Use 12 or more characters. The score is an estimate only.
Password strengthNo password
password-strength-meter-field-demo.tsx

API reference

vip/ui adds or changes the props below. For all other props, see React Aria Meter (opens in a new tab).

password: stringRequired
The password to rate. The score uses only length and the mix of letters and other characters. It does not measure how easy the password is to guess.