Back to Components
Components

Password Strength

Password strength meter with animated fill and gradient bar.

Password strengthWeak
Password strengthFair
Password strengthGood
Password strengthStrong

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/password-strength.tsx

Installation

Using shadcn CLI

npx shadcn add password-strength --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge