A gauge under a password field: four segments (2px ink frame) that fill with speed lines, one after the other in steps; the top level is an ink flat. The label sits beside the gauge on paper and is announced politely; the gauge is role=meter. Props: value (the password, scored locally by passwordScore: length, lower/upper case, digits, symbols; no dictionary, no network) or score 0-4 (overrides value), labels (five, default Too short, Weak, Fair, Good, Strong), minLength (default 8). Also exports passwordScore(password, minLength?).
pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/password-strength.json"