Input
Displays a form input field or a component that looks like an input field.
Preview
Installation
Use the CLI to add this component to your project.
Usage
tsx
5 linesCopy
Examples
Default
With Label
Disabled
With Icon
Password
File Input
Props
| Prop | Type | Default | Description |
|---|---|---|---|
type | string | "text" | The type of input |
placeholder | string | Placeholder text | |
disabled | boolean | false | Disable the input |
className | string | Additional CSS classes |