Componentform0.98 KB gzipZero dependencies

Password Strength

Segmented security verification meter with animated strength bars and criteria checklist.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add password-strength

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { PasswordStrength } from "@/components/ui/password-strength"; <PasswordStrength value="TicketSecret!2026" />

Source code

password-strength.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxpassword-strength.tsx98 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface PasswordStrengthProps extends React.HTMLAttributes<HTMLDivElement> {  value?: string;  className?: string;  showCriteria?: boolean;} interface Criteria {  label: string;  met: boolean;} export function PasswordStrength({  value = "",

Props

Interactive Prop Playground

Tweak parsed AST props below to generate ready-to-paste JSX.

tsx3 lines
import { PasswordStrength } from "@/components/ui/password-strength"; <PasswordStrength />
PropTypeDescription
valuestringControlled value. (Default: "")
classNamestringOptional Tailwind or custom CSS classes merged with component styles.
showCriteriabooleanToggles show criteria. (Default: true)