Theme and topic menu
<gcds-topic-menu>
Also called: global navigation, theme-based navigation.
The theme and topic menu is a navigation to the top tasks of Government of Canada websites.
-
GitHub -
Figma
Theme and topic menu component preview
Build a theme and topic menu
Use the theme and topic menu to provide global navigation to Government of Canada sites.
Coding and accessibility for theme and topic menu
Use the theme and topic menu with other components
Add the theme and topic menu directly to the slot="menu"
attribute in the header. This will place the theme and topic menu in the header after the language toggle, signature, and search slots.
Note: If applying the theme and topic menu to the front page of Canada.ca, use the home
attribute to render with the correct styling.
Get your code
Generate an instance of the component you need by selecting its code properties.
-
Explore by choosing different code values to generate the instance you want.
-
Get the code and pull it into your environment.
-
Add any copy you need to the component (like text for a label).
Note: The code builder uses English for all code elements, which follows standard practice.
Help us improve
Have questions or a request? Give feedback on our contact form.
Something's wrong? Raise it through GitHub with an