Component
TextArea
Labeled multi-line field. Same pass-through behaviour as TextInput, plus a rows prop.
jsx
<TextArea label="Notes" rows={4}
placeholder="Add delivery instructions…" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
label
|
string | — | Optional field label. |
rows
|
number | 3 | Visible text rows. |
className
|
string | '' | Extra classes on the textarea. |
...props
|
TextareaHTMLAttributes | — | Forwarded to the underlying textarea. |