Back to Textarea
Textarea

Sizes & help text

Default and large textarea with helper text.

Markdown is supported.

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