Navigation
Overlays
Input
Form input component with support for text, password, file, and other HTML input types. Features variants including default, filled, disabled, and invalid states.
Import
Live Demo
Input variants including states and file type.
Default
States
File Input
Props
| Name | Type | Default | Description |
|---|---|---|---|
| type | string | "text" | The type of input (text, password, file, etc.) |
| disabled | boolean | false | Whether the input is disabled |
| placeholder | string | — | Placeholder text when input is empty |
Examples
Basic Input
Disabled State
Invalid State
Shown when validation fails.