Skip to content
v2.5.0
English
Русский
Documentation

TextArea

TextArea is the multiline text input for longer free-form content.

Root Props

PropTypeDefault
placeholderstring—
Placeholder text shown when the textarea is empty.
valuestring | number—
The current value of the textarea. Can be a string or number.
sizeTextAreaSize'md'
Visual size of the textarea. Controls padding, font size, and height presets.
errorboolean—
Displays the textarea in an error state.
fullWidthboolean—
Makes the textarea expand to fill the full width of its container.
refRef<HTMLTextAreaElement>—
Ref forwarded to the native <textarea> element. Useful for focus control, measurement, or integrations.

Also accepts all <textarea> attributes.

Child Parts

  • None. TextArea is a single exported control.

Types

  • TextAreaProps
  • TextAreaSize

State Model

  • Controlled and uncontrolled behavior follow native <textarea> rules.
  • Error state is visual and does not replace validation semantics.