TextArea
Multi-line variant of TextInput. Same Carbon-spec contract: built-in label, helper text, validation states, sizes.
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
CodeSnippetpattern with editable mode (planned), or a dedicated code editor.