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.

Problems text solves

Use the text component to:

Related components

Headings for structuring content by creating levels of hierarchy that organize page content visually and mentally, using GC Design System styles.

Screenreader-only for information that is accessible for assistive technologies like screen readers, but invisible for sighted users.

Choose a text role

A role is a text sub-type that has a specific use on a page.

Primary

Use the primary text-role for:

Secondary

Use the secondary text-role for:

Light

Use the light text-role for:

Content that needs to appear on a dark background when the contrast ratio between the light text and dark background meets WCAG (Web Content Accessibility Guidelines) standards.

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