Textarea
Multi-line text input with label and error state.
Default
import { Textarea } from '@canarist/ui'
<Textarea
label="Message"
placeholder="Describe the issue in detail…"
/>Error state
Description is required.
<Textarea
label="Description"
placeholder="Enter description"
error="Description is required."
/>Disabled
<Textarea label="Notes" defaultValue="Read-only content" disabled />Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | Label displayed above the textarea. |
| error | string | — | Error message shown below the textarea. |
| placeholder | string | — | Placeholder text. |
| disabled | boolean | — | Disable the textarea. |