TextInput
Single-line text field.
Loading…
Single-line text field.
Loading…
Single-line text fields — filenames, labels, search, hex-adjacent inputs.
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | Field label above input. |
| size | "sm" | "md" | sm | Input height and text size. |
| ...props | InputHTMLAttributes | — | Standard input attributes (value, onChange, placeholder, etc.). |
| className | string | — | Optional CSS class. |
Also copy lib/utils.ts (cn helper):