GC Design System Components Installation Page templates Contact us Get involved Find a demo GC Design System Components

Notice
<gcds-notice>

Also called: Contextual alert.

The notice is a short, prominent message that’s part of the page content.

Notice component preview

Problems notice solves

Use notice to:


Error message or error summary for errors in a form field, on a page, or in a flow.

Banner for a message that applies to part of or the entire site or product.


Notice types

Set the notice type based on the message context and corresponding visual appearance.

Information

Use the information type to:

Thank you for your interest in Canada Summer Jobs. Applications are now closed.

Success

Use the success notice type to:

Processing your request may take up to four (4) weeks. We’ll contact you if we need more information.

Warning

Use the warning notice type to:

New penalties for impaired driving and cannabis-related crimes may affect your immigration status in Canada. If you commit one of these crimes, you may not be able to come to or stay in Canada.

Danger

Use the danger notice type to:

Avoid travel to Costa Rica if you are pregnant or planning to conceive a child in the next 3 months.

Help us improve

Have questions or a request? Give feedback on our contact form.

Something's wrong? Raise it through GitHub with an account. You'll have access to the team's direct responses, progress made on your issue, and issues raised by others.

Give feedback Report an issue on GitHub
2025-05-06