Import
import { Field, Textarea } from '@cerberus/react'Usage
The Textarea component displays a textarea field.
Loading example...
Secondary Helper Text
The Textarea component supports secondary helper text, which can be used to display additional information or a character count.
Loading example...
Customizing
You can customize the textarea by passing styles directly into the component. Textarea is a re-export of the FieldTextarea primitive.
Loading example...
API
Props
The Textarea accepts the following props in addition to any native textarea props:
| Name | Default | Description |
|---|---|---|
size | This size variant of the textarea |
The Textarea component also shares the same props mentioned in the Field Textarea API