# Text Area

> A big box with many lines. It is for long answers.

**Field:** Design  
**Category:** User Interface  
**Also known as:** Textarea, Multi-Line Text Field, Comment Box

## Think of it like

It is like a blank page instead of a blank line. There is room to write a lot.

## Definition

A text area is a box with several lines, for long answers like a message, a review or a note. Its height tells people how much to write. It should grow, or let people make it bigger, as they type. A small text area makes people write less or give up.

## Example

A review form swaps a one-line box for a tall text area. Reviews get twice as long.

## Example code

```html
<label for="msg">Your message</label>
<textarea id="msg" rows="5"></textarea>
```

rows sets how many lines show before it scrolls.

## Why it matters

Its size is a hint. A big box invites a full answer.

## Common mistake

Using a one-line input for a long answer. People cannot see what they wrote.

## Three principles

- **Many lines.** For long answers.
- **Size is a hint.** Tall box, long answer.
- **Let it grow.** Room as people type.

## Related terms

- [Text Input](https://learn.benibix.com/term/design/text-input)
- [Field Label](https://learn.benibix.com/term/design/field-label)
- [Helper Text](https://learn.benibix.com/term/design/helper-text)

## Taught in

- [Text Input and Text Area](https://learn.benibix.com/learn/design-user-interface/text-input-and-text-area): UI Components, 3/14

---

Source: https://learn.benibix.com/term/design/textarea
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
