A text area is a form control that allows users to enter and edit multiple lines of text. It's designed for collecting long-form content such as comments, messages, or detailed descriptions.
When to use
When to avoid
Specifications
Label placement
Vertical resize
Anatomy
1
Label
Should indicate some kind of instruction for selection. If majority of fields are required in a single form, the "Option" label can be toggled on. If majority of fields are optional, the "Required asterisks" should instead be toggled on.
2
Content
Contains optional placeholder text or valued content input by the user.
3
Assistive text
For additional instructions, formatting requirements, or validation messages.
4
Character count
Displays the current number of characters entered relative to the maximum allowed limit.
5
Container
The multi-line input area that can be configured to have a custom height or a default fixed height before content truncation.