TextArea
A multi-line text input field with support for labels and helper text.
Usage
TextArea Props
Prop | Type | Default |
---|---|---|
label | string | - |
isOptional | boolean | false |
helperText | string | - |
error | boolean | - |
width | string | number | "200px" |
value | string | - |
onChange | (value: string) => void | - |
className | string | - |
Examples
Basic Usage
The most basic usage of TextArea with just a label and placeholder.
Error State
TextArea in error state with custom styling.
Controlled Usage
Example of TextArea in controlled mode.
Custom Width
TextArea with custom width specification.