Accordion Groups allow you to organize content into collapsible sections, making it easier for users to navigate through information. With recent updates, our Accordion component now supports improved search functionality using the browser’s built-in search feature.
Accordion Groups can contain multiple Accordion items. Each item has a title and content that can be expanded or collapsed.
The updated Accordion component now uses HTML5 <details> and <summary> elements, enabling browser search (Cmd+F / Ctrl+F) to find content within collapsed sections.
Our Accordion component is built with accessibility in mind, supporting keyboard navigation and screen readers.
The recent update to our Accordion component improves content discoverability by allowing users to search through all content, including collapsed sections, using the browser’s search function (Cmd+F / Ctrl+F).
Here are some examples of how to use the Accordion Group component:
This is a basic example with text content.
You can include code snippets within Accordions:
Accordions can contain other components:
