Skip to content
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
Fair
  • autocomplete is current-password, or new-password with meter. 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

NameTypeDefaultDescription
meterboolean—show the strength meter under the field
labelsPartial<{ show: string; }>—
modelValuestring""

Events

NamePayloadDescription
update:modelValue[value: string]

Released under the MIT License. Character names and artwork belong to their owners.