← Components/primitives

TextArea

Multi-line variant of TextInput. Same Carbon-spec contract: built-in label, helper text, validation states, sizes.

primitivesstablea11y: untested2/3 coverageEdit on GitHub ↗
primitives-textarea--defaultOpen all variants →

When to use

  • Multi-line text input: comments, descriptions, paste targets, prompts.
  • Any field where users may type more than one sentence.

When not to use

  • Single-line input → use `TextInput`.
  • Code or JSON input → use the CodeSnippet pattern with editable mode (planned), or a dedicated code editor.