Accordion Groups
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.
Basic Usage
Accordion Groups can contain multiple Accordion items. Each item has a title and content that can be expanded or collapsed.
Searchable Content
The updated Accordion component now uses HTML5 <details>
and <summary>
elements, enabling browser search (Cmd+F / Ctrl+F) to find content within collapsed sections.
Accessibility
Our Accordion component is built with accessibility in mind, supporting keyboard navigation and screen readers.
Enhanced Search Functionality
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).
Usage Examples
Here are some examples of how to use the Accordion Group component:
Example
Markdown
Simple Text Content
This is a basic example with text content.
With Code Snippets
You can include code snippets within Accordions:
Nested Components
Accordions can contain other components:
