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 Accordion has a title and content that can be expanded or collapsed. You can use the defaultOpen prop to expand specific accordions by default when the page loads.
Searchable content
Accordion components use HTML5 <details> and <summary> elements, enabling browser search (Cmd+F / Ctrl+F) so users can find content within collapsed sections.
Accessibility
The Accordion component supports keyboard navigation and screen readers.
Usage examples
Example
Markdown
Simple text content
This is a basic example with text content. It’s open by default when the page loads.
Text content with multimedia
You can embed images, videos, and other media within accordions for rich interactive content.

Nested components
Accordions can contain other components, such as code blocks and callouts.
Here’s a nested callout.