Accordion
The <Accordion> component creates expandable sections with searchable, SEO-friendly content that remains accessible even when collapsed. Use accordions for FAQs, documentation sections, settings panels, or any content where progressive disclosure improves readability.
You can use single accordions or group multiple accordions together with <AccordionGroup>.
Usage
Section 1
Content for section 1, expanded by default
Section 2
Content for section 2
Variants
Within each accordion, you can embed images, videos, and other components (callouts, code blocks, etc) within accordions for rich interactive content.
Multimedia
Text content with multimedia

Nested components
Nested components
Here’s a callout nested in an accordion
Default open
Accordion open by default
Use the defaultOpen property to have specific accordions expanded by default when the page loads. This is useful for highlighting important information or frequently accessed content.
Properties
The title shown in the accordion header
The content to be displayed when the accordion is expanded. Can include text, markdown, and components.
Whether the accordion should be open when the page loads. If not specified, the accordion will be collapsed by default.