GC Design System Components Installation Page templates Contact us Get involved Find a demo GC Design System Components

Text area
<gcds-textarea>

Also called: text box.

A text area is a space to enter long-form information in response to a question or instruction.

Textarea component preview

Text area anatomy

  1. The text area label states the information a person should enter in the field. Label text is left aligned and in sentence case (only the initial letter is capitalized).
  2. The hint text communicates specific requirements for each text area to support task success.
  3. The field is the container a person interacts with to provide their response.
Text area anatomy showing the Text area label, Hint text/ example message and dark blue outline white box for text input.

Design and accessibility for text areas

Write a short, specific, unique text area label

Support task success for text areas with hint text

Write error messages for required text areas

Help us improve

Have questions or a request? Give feedback on our contact form.

Something's wrong? Raise it through GitHub with an account. You'll have access to the team's direct responses, progress made on your issue, and issues raised by others.

Give feedback Report an issue on GitHub
2024-12-11