PasswordInput
A masked TextInput with a reveal toggle. Accepts all native
<input> attributes.
import { PasswordInput } from '@gg-software/ui';
<PasswordInput placeholder="Password" />
<PasswordInput placeholder="No toggle" visibilityToggle={false} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
prefix | ReactNode | — | content rendered inside the input, before the text (e.g. an icon) |
children | ReactNode | — | content rendered inside the component |
status | "warning" | "error" | — | validation state styling |
step | string | number | 1 | amount added/removed per step or arrow key (default 1) |
size | "sm" | "md" | "lg" | — | |
max | string | number | — | |
min | string | number | — | |
visibilityToggle | boolean | true | show the reveal (show/hide) toggle button (default true) |
* required · generated from packages/ui/src/input/PasswordInput/PasswordInput.tsx