Zazz Design Framework
Components

Password group

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

.ui-password-group provides an input group with a trailing ghost button that toggles password visibility. Wrap with <ui-password> to enhance with JavaScript while remaining fully functional as a masked text input without JS.

Default

Loading components…

API

Element / AttributeTargetDescription
<ui-password>WrapperFinds password input and toggles visibility
.ui-password-groupContainerLayout for input field and addon button
[data-slot="password-group-toggle"]ButtonToggles input type between password and text
data-label-show<ui-password>Accessible label when password is hidden
data-label-hide<ui-password>Accessible label when password is shown

On this page