Back to Components
Components
Password Strength
Password input with strength meter, show/hide toggle, and requirements checklist.
- At least 8 characters
- One uppercase letter
- One lowercase letter
- One number
- One special character
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/password-strength.tsx
Installation
Using shadcn CLI
npx shadcn add password-strength --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge