Toggle Sidebar B
AppearanceLight & dark mode D

Input Password

Password input with a built-in show/hide toggle.

Default

Click the eye icon to reveal the value.

Replay preview

With label

Pair with a Label for a complete form field.

Replay preview

Disabled

Pass disabled to block input and the reveal toggle.

Replay preview

API Reference

InputPassword

PropTypeDefaultDescription
modelValuestring""Password value. Supports v-model.
showLabelstring"Show password"aria-label / tooltip for the reveal toggle.
hideLabelstring"Hide password"aria-label / tooltip when the value is visible.
placeholderstringNative placeholder, passed through to the input.
disabledbooleanfalseNative disabled attribute, passed through to the input.
EventDescription
update:modelValueFires on input. Enables v-model.