Toggle Sidebar B
header.lightDarkMode D

Input Password

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

Default

Click the eye icon to reveal the value.

With label

Pair with a Label for a complete form field.

Disabled

Pass disabled to block input and the reveal toggle.

API Reference

Props, events, and slots for each sub-component.

InputPassword

Props

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.

Events

EventDescription
update:modelValueFires on input. Enables v-model.