GC Design System Components Installation Page templates Contact us 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

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
2025-02-20