Footer
<gcds-footer>
Also called: site footer.
The footer is the responsive Government of Canada branded footer landmark.
-
GitHub -
Figma
Footer component preview
Build a footer
Use the Government of Canada branded footer landmark for a consistent, accessible, and responsive landmark for your site or product.
Coding and accessibility for footers
Choose a display mode using the display property
Use the display
property to choose one of the two display modes: compact
or full
.
Choose the compact display to include:
The footer links band and the Government of Canada wordmark.
Include the full display if you need to include:
The main band with a large selection of Government of Canada corporate links.
The footer links band and the Government of Canada wordmark.
Opt to include the contextual band to add up to three footer links for your product.
Include the footer links band for Government of Canada sites and products
Always maintain the integrity of the signature. Absolutely avoid modifying the signature in any way. In particular avoid stretching or changing the colours or text.
Pass either the
colour
orwhite
display mode of the Government of Canada signature using thesignature-variant
attribute. Choose thecolour
display for a white background.
Add optional elements to your footer
Maintain the Canada wordmark and privacy and terms of reference links in the footer links band. Opt to remove the other links.
Add content to the contextual band by using both the
contextual-heading
andcontextual-links
attributes.Use the
contextual-heading
attribute to assign heading text and the navigational landmark label of the contextual band.Use the
contextual-links
attribute to set a maximum of three links in the contextual band. Add support links for your product or service, such as contact details for a program.For the contextual band, set the
contextual-links
, by passing an object or an object in a string in the following format:
{
“1st link label”: “href”
“2nd link label”: “href”
“3rd link label”: “href”
}
For the footer links band, set the
sub-links
, by passing an object or an object in a string in the following format:
{
“1st link label”: “href”
“2nd link label”: “href”
“3rd link label”: “href”
}
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: Following standard practice, the code builder uses English for all code elements.
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.