Forms / The visual dictionary

Text area.

Accepts a longer piece of text across multiple lines.

Also calledtextareamultiline inputtext box
01

See it in context

UI illustration

A text area gives writing room for notes, messages, or descriptions. It may grow with content or allow resizing, but should avoid hiding the text being edited.

When to use it

Provide enough visible lines for the expected answer and preserve line breaks.

Know the difference

A rich text editor adds formatting commands; a text area accepts plain multiline text.

WebiOSiPadOSAndroidmacOSWindowsLinux

Web

Use a labeled native input and its appropriate type, inputmode, and autocomplete hints. Browser presentation and the available autofill UI vary.

iOS · iPadOS · Android

Choose the keyboard and content type for the value being entered. Keep the field visible above the on-screen keyboard and preserve the user’s selection.

macOS · Windows · Linux

Support ordinary keyboard editing, selection, paste, and undo. A desktop field should not depend on a touch-only accessory keyboard.

Primary documentation for the pattern and its platform conventions.