Skip to content
Hazine

Password and secret inputs

1 of 5 shipped. Each take is a different structure, and the note under its title says how.

  • password and secret inputs

    Baseline masked field with a single visibility toggle inside the field and an opt-in strength meter under it, with no rule checklist.

    shadcn add @hazine/password-input

    Depends on input, @hazine/use-controllable-state, lucide-react

Planned 4

  • Password with Requirement Checklist

    Feedback is an itemised rule list with per-rule pass state, telling the user exactly what is missing.

  • Password with Strength Meter

    Feedback is a single aggregate score shown as a segmented meter with a verdict, not a rule list.

  • Secret Key Reveal Field

    Read-only output field with partial masking, timed re-mask and copy, the inverse of an entry field.

  • Passphrase Generator

    The component produces the secret itself through an options panel instead of judging what the user typed.