-
Notifications
You must be signed in to change notification settings - Fork 1
Expand and collapse
ShannonTucker edited this page Apr 18, 2022
·
3 revisions
The expand and collapse component allows content to be hidden until requested.
Check out the Canada.ca design system pattern for guidance on when to use the accordion.
Do not use the expand and collapse component if:
- users need all the information on the page.
- users need to print the page.
- you want to call attention to the content.
Instead of using expand and collapse:
- reduce the content that needs to be displayed.
- use multiple pages to display the content.
- use headings to structure and separate the content.
Check out the Canada.ca design system pattern for more guidance on when not to use the expand and collapse component.
- Include only one topic per expand and collapse section.
We imported and accepted this component from the GC Design Library.