Textarea
v1.0.0A multi-line text input that can auto-resize.
Interactive Implementation
Type into the area below to see auto-resize in action.
Characters: 0
Textarea API Reference
All available props for this component.
| Property | Type | Default | Description |
|---|---|---|---|
| variant | "default" | "error" | "default" | Visual validation state affecting border and focus ring colors. |
| error | string | undefined | Error message rendered below the field with destructive styling. |
| autoResize | boolean | false | Automatically adjusts height to match content scroll height on input. |
| rows | number | 3 | Default visible row count for the textarea canvas. |
| className | string | undefined | Additional utility classes merged into the root element. |