- Components
- Forms
Textarea
Multi-line input with the Input treatment; grows with content.
Installation#
npx shadcn add @ortaui/textareaExamples#
Default and states#
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| surface | "default" | "raised" | auto | Look on a panel. Unset: raised (page fill + border) inside any [data-surface] container. "raised" forces it anywhere; "default" keeps the muted fill even inside a surface. |
| className | string | - | Merged with the component classes via cn(). |