Back to Textarea
Textarea

Validation

Live character-count validation.

Tell us what you think.

API

PropTypeDefaultDescription
labelReact.ReactNodeField label.
helpTextReact.ReactNodeSupplementary help text shown when there's no error.
errorReact.ReactNodeError text; sets `aria-invalid` and destructive styling.
size"sm" | "md" | "lg"mdTypography and padding scale.
value / defaultValuestringControlled / uncontrolled value.
onValueChange(value: string) => voidConvenience change handler.
disabledbooleanNative disabled state.
rowsnumberNative rows attribute.
View full API on Textarea

More Textarea examples