GC Design system Components Installation Contact us Get involved GC Design System Components

Text
<gcds-text>

Also called: text block, copy, caption, body text, paragraph.

Text is a styled and formatted paragraph that displays written content in an accessible way.

Text component preview

This is text that's related to the heading and describes in further detail the heading's subject or action. Text is typically one or several lines or paragraphs that form a section's content or introduce a bulleted list, table, or other content, like an image or video.

Text anatomy

  1. Text is non-heading content. Its subject matter is related to the idea outlined in its corresponding heading.
  2. Heading is a prominent line of text that introduces the paragraph or other body content that immediately follows it. The visual prominence of the heading decreases based on its level in the hierarchical order.
A line of large bold text above a block of smaller text. The bold text reads “This is a heading” and the block of written content reads “This is text that’s related to the heading and describes in further detail the heading’s subject or action. Text is typically one or several lines or paragraphs that form a section’s content or introduce a bulleted list, table, or other content, like an image or video.” A label with a “1” points to the smaller block of text and a label with “2” points to the larger bold text.

Design and accessibility for text

Write content that's scannable

Tip: Think about whether the message could be interpreted another way.

Use a human tone

Tip: To adopt a more human tone, think about explaining aloud to someone. How does it sound when you speak the content in conversation?

Choose regular text or a caption

Use text styling sparingly

Help us improve

Have questions? Something you'd change or you'd like to see? Share your feedback with us to help improve GC Design System.

Give feedback
2024-11-04