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

Heading
<gcds-heading>

Also called: title, section heading, subheading.

A heading is a title that establishes levels of hierarchy to organize page content into a structure.

Heading component preview

Heading

Heading anatomy

  1. 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. More visual emphasis is given to the first heading, the H1, than a subordinate heading like an H5 or H6. Assistive technologies, such as screen readers, identify headings by their levels.
  2. Text is non-heading content. Its subject matter is related to the idea outlined in its corresponding heading.
A large, prominent heading text above a block of smaller text. The larger text reads: “This is a heading”. The next block 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.” There's a label pointing to the larger text reading “1” and there's a label pointing to the smaller block of text that reads “2”..

Design and accessibility for headings

Order heading levels hierarchically

Heading levels follow a sequential, hierarchical order: higher levels have larger display text than lower ones.

Maintain accessible character limits

Write clear and consistent headings

Use consistent spacing

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