Examples
Basic
Type a password — the bar fills from 0 to 4 segments based on length + uppercase + digits + symbols. Color shifts danger → warning → info → success.
Documentation
Password strength pattern
Composition — no runtime template. Input + 4 segments + label, scored via a small JS function. Swap the score function for zxcvbn if you want library-grade entropy estimates.
Usage
Show, don't block. The strength meter is informational — let users submit even weak passwords (with a warning) rather than refusing the form.