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

Details
<gcds-details>

Also called: accordion, collapse.

Details is an interactive switch for a person to expand or collapse content.

Details component preview

Take a look at what problems the details component solves to see if they fit the problem you're solving for.

Problems details solve

Use the details component to give a person a summary of more detailed content you've hidden that they can choose to reveal. Use this component to:

Related components

Tabs when you want to replace the entire content of a section or a page.

Links to provide navigation to a new page, website, or section on the current page or files for download.

Buttons when a person modifies data, changes a state, or initiates a specific action.

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-03-10