Signature
<gcds-signature>
Also called: wordmark.
The signature is the Government of Canada landmark identifier found in the header or footer.
-
Required on Canada.ca -
Required on GC sites
-
GitHub -
Figma
Signature component preview
On this page
Coding and accessibility for signature
Apply the signature or wordmark types
Use the signature type in the site's
- Set the
typeattribute tosignature. - Set the
typeattribute towordmark.
Set the language and colour
- Set the page's language settings using the
langattribute.Enwill render the English version for an English page andFrwill render the French version for a French page. - Link the signature to the Canada.ca homepage in the same Official Language as the current page. Set
has-linkattribute totrueto link to Canada.ca. - Set the component to either
colourorwhiteusing thevariantattribute.
In this section
has-link
The has-link attribute controls whether the signature links to Canada.ca. By default, it's set to false, meaning the signature is displayed as static content and isn't clickable.
<gcds-signature></gcds-signature>
When it's set to true, the signature becomes clickable and links to Canada.ca.
<gcds-signature has-link="true"></gcds-signature>
type
The type attribute determines which graphic is displayed in the signature component. By default, it is set to signature, rendering the signature graphic.
<gcds-signature></gcds-signature>
When it's set to wordmark, the component displays the wordmark graphic instead.
<gcds-signature type="wordmark"></gcds-signature>
variant
The variant attribute controls the colour of the signature component. By default, it is set to colour, rendering the coloured version of the signature.
<gcds-signature></gcds-signature>
When it's set to white, the component displays the white version of the signature, suitable for dark backgrounds.
<div class="bg-dark p-300">
<gcds-signature variant="white"></gcds-signature>
</div>
Code builder
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