Textarea
Displays a form textarea or a component that looks like a textarea. Uses text-start so typed text aligns with writing direction. For a single-line control, see Input.
Basic
A multi-line text field with native textarea behavior.
Installation
CLI
Composition
structure
Usage
textarea.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| placeholder | string | — | Hint text shown when empty. |
| disabled | boolean | false | Disable the control. |
| aria-invalid | boolean | — | Marks the field invalid and applies error styles. |
| …textarea props | React.ComponentProps<"textarea"> | — | Native attributes pass through to the element. |