Textarea
Multi-line text field.
Staticimport { Textarea } from 'umbra-ui'
Props
| Prop | Type | Default | Description |
|---|---|---|---|
invalid | boolean | — | Marks the value as invalid (sets `aria-invalid`). Inherited from FormField when omitted. |
resize | "none" | "vertical" | "both" | vertical | Which directions the user may resize. |
Usage notes
Same API as Input, plus resize.
Accessibility
- Label it with
FormFieldoraria-label. invalidsetsaria-invalid.
Import
import { Textarea } from 'umbra-ui';
import 'umbra-ui/styles.css'; // once, at the root of your app