PasswordInput
PasswordInput Component
Playground
Props
| Prop | Type | Default | Value |
|---|---|---|---|
| placeholder | text | — | |
| label | text | — | |
| error | boolean | — | |
| disabled | boolean | — | |
| size | selectsm | md | lg | — |
Default
WithLabel
WithError
Password must be at least 8 characters.
Disabled
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
disabled | boolean | — | Disabled state |
error | boolean | — | Error state |
label | text | — | Label text |
placeholder | text | — | Placeholder text |
size | select | — | Input size |
Using PasswordInputtsx
import { PasswordInput } from '@/components/PasswordInput'
<PasswordInput
placeholder="..."
label="..."
error="..."
disabled="..."
size="..."
/>Tokens Used
No design tokens detected