- Docs
- Components
- Textarea
Textarea
Displays a form textarea or a component that looks like a textarea.
Preview
Code
Installation
CLI
Manual
Anatomy
Examples
Disabled
Preview
Code
With Label
Preview
Code
With Text
Preview
Code
Auto Resize
Preview
Code
The field-sizing CSS property is not supported in all browsers. See the
browser compatibility
table for more details.
Form
Component textarea-form not found in registry.
API Reference
| Prop | Type | Default |
|---|---|---|
value | string | |
defaultValue | string | |
onChange | function | |
placeholder | string | |
isDisabled | boolean | |
isReadOnly | boolean | |
isRequired | boolean | |
isInvalid | boolean | |
minLength | number | |
maxLength | number | |
rows | number | |
autoComplete | string | |
name | string | |
autoFocus | boolean |