Password validation indicator with requirements.
import { PasswordStrengthMeter } from "@/components/ui";const [password, setPassword] = useState("");
return (
<div className="space-y-2">
<FieldWrapper label="Password" required>
<Input
type="password"
value={password}
onChange={(e) => setPassword(e.target.value)}
/>
</FieldWrapper>
<PasswordStrengthMeter password={password} />
</div>
);Show password requirements
<PasswordStrengthMeter password={password} minLength={12} showRequirements/>Just show strength bar
<PasswordStrengthMeter password={password} showRequirements={false}/>Configure your app with the features you need and download production-ready code.
Start Configuring