Password strength

A password field with a strength meter.

  • At least 8 characters
  • An uppercase letter
  • A number
  • A symbol

With checklist

  • At least 10 characters
  • An uppercase letter
  • A number
  • A symbol

No checklist

API reference

Inputs

PropTypeDefaultDescription
namestring'password'Native `name` attribute for the input.
idstring''Input `id`; defaults to `name` when empty.
placeholderstring'••••••••'Placeholder text for the input.
showChecklistbooleantrueWhether the requirement checklist is shown.
minLengthnumber8Minimum length required to satisfy the length rule.
labelstring'Password'Accessible label for the input.

Two-way models

Bind with [(name)], or one-way as an input.

PropTypeDefaultDescription
passwordstring''Current password value. Two-way bindable with `[(password)]`.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.