Input
A text input field with label, description, and validation support.
Default
With description
Must be 3-20 characters.
Sizes
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | Label text shown above the input. |
| description | string | — | Helper text shown below the input. |
| errorMessage | string | — | Error message (replaces description). |
| placeholder | string | — | Placeholder text shown when empty. |
| size | "sm" | "md" | "lg" | "md" | The size of the input. |
| className | string | — | Additional CSS classes for the wrapper. |