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
| Prop | Type | Default | Description |
|---|---|---|---|
name | string | 'password' | Native `name` attribute for the input. |
id | string | '' | Input `id`; defaults to `name` when empty. |
placeholder | string | '••••••••' | Placeholder text for the input. |
showChecklist | boolean | true | Whether the requirement checklist is shown. |
minLength | number | 8 | Minimum length required to satisfy the length rule. |
label | string | 'Password' | Accessible label for the input. |
Two-way models
Bind with [(name)], or one-way as an input.
| Prop | Type | Default | Description |
|---|---|---|---|
password | string | '' | 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.