Textarea.
Expandable multi-line text input.
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
value | string | No | — | — | Controlled multi-line text. |
defaultValue | string | No | — | — | Initial uncontrolled text. |
rows | number | No | — | — | Visible row count. |
placeholder | string | No | — | — | Placeholder while empty. |
disabled | boolean | No | false | true · false | Disable text editing. |
required | boolean | No | false | true · false | Native form required state. |
onChange | ChangeEventHandler<HTMLTextAreaElement> | No | — | — | Called on edits. |