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

Header
<gcds-header>

Also called: global header, brand header.

The header is the responsive Government of Canada branded header landmark.

Header component preview

  1. The skip-to-nav includes the skip-to-content link to let a person bypass a cluster of navigation links and jump to the main page content.
  2. The signature header spans the top of the site and contains the Government of Canada branded signature and the language toggle. It can also include a search form. It has a divider line along the bottom edge. When the site language is set with the lang attribute, the signature reflects the same Official Language as the page content.
  3. The language toggle component is a switch for French and English content. When the site language is set using the lang attribute, the toggle will be available in the other Official Language.
Home link Taxonomy has three parts. The skip to content - indicated by a bright blue double white lined box with label of Skip to main content. GC header banner with a Canadian Flag with Government of Canada  and Government du Canada. Language toggle pointing at Français to use to toggle to French. Top bar pointing at Home link in a light grey banner with Site menu link outlined by a dark grey link to indicate the selected link with unselected Site menu link with no line underneath it.

Optional header elements – with H1 title

  1. The skip-to-nav includes the skip-to-content link to let a person bypass a cluster of navigation links and jump to the main page content.
  2. The banner, when used, precedes the signature header. It's an optional element to communicate the status of the site or page, for sites that are experimental, those in research, pilots, or products in trial mode.
  3. The signature header spans the top of the site and contains the Government of Canada branded signature and the language toggle. It can also include a search form. It has a divider line along the bottom edge. When the site language is set with the `lang` attribute, the signature reflects the same Official Language as the page content.
  4. The language toggle component is a switch for French and English content. When the site language is set using the language attribute, the toggle will be available in the other Official Language.
  5. The menu, or site menu, holds the site navigation. The menu serves as a simplified site map and helps give visitors a sense of a site's purpose and priorities. For transactional products or sites, like those with forms, flows, processes, or storefronts, it's optional to use a simplified or custom site menu or even no menu.
  6. The breadcrumbs lay a path from each level of the site's hierarchy to the current page, stated in the page title. The breadcrumbs tell a person where they've been and let them retrace their steps or jump between levels.
  7. The H1 title is a separate element from the header component. It tells readers what the page or site is about and acts a signpost, giving them a sense of place.

The search element supports including a search form that is local or global.

Home link Taxonomy has five parts. The skip to content - indicated by a bright blue double white lined box with label of Skip to main content. The Phase banner - indicated by a navy blue lined box with label of stages of the site. The stage 'pilot' is in a white navy blue outlined box. GC header banner with a Canadian Flag with Government of Canada  and Government du Canada. Language toggle pointing at Français to use to toggle to French. Top bar pointing at Home link in a light grey banner with Site menu link outlined by a dark grey link to indicate the selected link with unselected Site menu link with no line underneath it.

Design and accessibility for headers

Assemble your product's header

Improve the accessibility of the header

Give your page a title

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-02-12