Default
Hidden password with reveal action.
/render stateText input composition with secure visibility toggling and field validation chrome.
Password input is the canonical pattern for slotting an inline icon action into a field without changing input semantics.
Controls update query params directly. Complex slots use curated fixtures so component states stay deterministic, linkable, and screenshot-ready.
Every state maps to the same component render route through the `state` query param.
Hidden password with reveal action.
/render statePassword revealed as plain text.
/render stateValidation error surfaced through Field.
/render state| Name | Type | Default | Description |
|---|---|---|---|
value | string | - | Controlled password value. |
defaultValue | string | - | Uncontrolled initial password value. |
visibleLabel | string | Show password | Accessible label for reveal action. |
hiddenLabel | string | Hide password | Accessible label for hide action. |
label | ReactNode | - | Field label. |
help | ReactNode | - | Muted helper text. |
error | ReactNode | - | Error copy and invalid treatment. |