Skip to Content

TextArea

Native multiline field with automatic ARIA composition and an optional counter. Default shell height is 96px, independent of validation messages. Manual vertical resize or opt-in autoResize is handled internally; ref/className/style belong to textarea.

Использование

0 from 1024
Описание поля

Валидация

9 from 1024
9 from 1024
9 from 1024

resize

9 from 1024
9 from 1024

API

ПропТипПо умолчаниюОписание
labelReactNode——
descriptionReactNode——
validationMessageReactNode——
validationStatus"default" | "success" | "error"default—
counterReactNode | ((context: TextAreaCounterContext) => ReactNode)—Undefined: automatic counter when maxLength is provided. Null hides it.
resize"vertical" | "none"verticalManual vertical resizing; disabled while autoResize is enabled.
autoResizebooleanGrow/shrink with content, bounded by minRows/maxRows.
minRowsnumber—Minimum text rows in autoResize mode; defaults to rows or 3.
maxRowsnumber8Maximum text rows in autoResize mode, never less than minRows.
Last updated on