Component
Textarea
Multi-line text input. Matches Input styling — same height unit, border, focus ring.
Default
tsx
<Textarea placeholder="Write something..." />With Label
tsx
<Label htmlFor="desc">Description</Label>
<Textarea id="desc" placeholder="Add a description..." rows={4} />Disabled
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| placeholder | string | — | Placeholder text. |
| rows | number | 3 | Initial visible row count. |
| disabled | boolean | false | Disables the textarea. |
| className | string | — | Additional Tailwind classes. |