All components

INPUTS / COMPONENTS

Text area

Give longer answers room to breathe.

Live component14 documented props

About text area

Text Area allows users to input and edit multiple lines of text, providing a larger space for longer messages or paragraphs. It's helpful in forms, messaging apps, and comment sections where users need to provide more extensive responses than single-line input fields allow.

01

Anatomy

Shared parts, named consistently.

  1. 1
    Text Area inputRequired

    The input for the Text Area.

  2. 2
    LabelRequired

    The label for the Text Area.

  3. 3
    Asterisk

    An asterisk is used to signify the field is required.

  4. 4
    Placeholder

    Placeholder text.

  5. 5
    Helper message

    A string below the input to provide additional context about the Text Area. When in an error state, the helper message will turn red.

  6. 6
    Character count

    A counter to display the current value and max value.

Try the default

A working example with the shared V1 visual language.

Keep the purpose clear and specific.0/240

When to use

Use for paragraphs, descriptions, and feedback. Let the field grow vertically and explain any character limit.

Native multiline editing and selection. Tab leaves the field; Enter adds a new line.

Related components

Source & adaptation

V1 semantic colors, DM Sans typography, compact controls, and responsive layouts. The API table describes this implementation; source design notes may use earlier API terminology.

components/library/inputs.tsx