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>.
Content for section 1, expanded by default
Content for section 2
Within each accordion, you can embed images, videos, and other components (callouts, code blocks, etc) within accordions for rich interactive content.

Here’s a callout nested in an accordion
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.
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.
The unique ID for the accordion. Used for linking and navigation. If not specified, an ID will be generated automatically.
Additional CSS classes to apply to the accordion