Agentic Design System
v3.5.0

Components · Forms · Text Area

Back to Text Area types

Text Area

Owner: Design System Team · Version: v3.5.0

Use for collecting multiple lines of free-form text, like a comment, a description, or a message.

Properties

Size, corner radius, label, placeholder and rows are properties of the same component, not separate fields - change them below to check this field's style and states in the Live Preview.

Size
Corner radius
Allow clear
Character counter
Required
Supporting text

Live Preview

All 3 types compared side by side, each in all 6 states. One full matrix is rendered per selected combination of Size and Corner radius - check more than one option in a dropdown to see every combination side by side.

When to use

Any form field that collects multiple lines of free-form text - comments, feedback, a bio, a description, or a message.

Comments Feedback Bio Description Message

Validation

Text Area's validation is mostly about length - a live counter that warns before it blocks, plus the same required-on-blur handling as any other text field.

Component Guide

Overview

Text Area is the multi-line counterpart to Input - a resizable or fixed-height box for collecting free-form text that spans more than one line, like a comment, a bio, or a longer message body.

When to Use

  • Any multi-line free-form text - comments, feedback, a bio, a message.
  • A description field - where the length genuinely varies and a single line would be too cramped.
  • Content the user is composing rather than briefly answering - a longer note or explanation.

When Not to Use

  • A single short line of text - use Input - a Text Area for a name or email adds unnecessary height and visual weight.
  • A value with an expected fixed format - email, phone, URL - use Input or Add-on so the format can be validated inline.
  • Text that needs an embedded suggestion or mention picker - use Mention or Autocomplete instead.

Best Practices

  • Give it a sensible default height for the expected content length, rather than always starting cramped or oversized.
  • Show a character counter when there's a maximum length, so users aren't surprised by truncation on submit.
  • Allow vertical resizing when the content length is unpredictable, so users can expand it themselves.

Do and Don't

Do

Markdown supported.

Sized for the length of answer actually expected, so the user can see what they have written without scrolling a two-line box.

Don't

A multi-line box for a one-line answer invites line breaks into a value that cannot contain them. Use Input for anything that fits on one line.

Accessibility

  • The label is programmatically associated with the textarea, just like Input.
  • A character limit and remaining-count are announced to assistive technology as the user types, not only shown visually.
  • Focus state uses a visible outline distinct from the field's default border.

Related Components

Input, Mention, Password.