Textarea
Multi-line text input. Same label/error/helperText API as Input.
Examples
With label and helper
Max 280 characters.
<Textarealabel="Bio"rows={3}placeholder="Tell us about yourself..."helperText="Max 280 characters."/>
Error state
Description is required.
<Textarealabel="Description"rows={3}error="Description is required."/>
API Reference
Props of the Textarea component.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | — | — |
required | boolean | false | — |
helperText | string | — | — |
error | string | boolean | — | — |
variant | 'outline' | 'filled' | 'outline' | — |
rows | number | 3 | — |