Calm motion: animations on this site only fade, with no movement
PasswordInput
Password with reveal toggle and meter
A password field with a reveal button. Add meter where someone is making a password (sign-up, change password): the field then asks password managers for a new one.
Basic
autocompleteiscurrent-password, ornew-passwordwithmeter. Pass your own to override.- The reveal button keeps one name (
labels.show) and says whether it is on by its pressed state. - Label it with a Field like any input.
Usage
ts
import { BlessPasswordInput } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
meter | boolean | — | show the strength meter under the field |
labels | Partial<{ show: string; }> | — | |
modelValue | string | "" |
Events
| Name | Payload | Description |
|---|---|---|
update:modelValue | [value: string] |