The Accordion component allows you to create expandable sections in your documentation. Content within accordions is searchable using browser search (cmd+f) even when collapsed. The component is optimized for SEO with server-side HTML generation, ensuring search engines can properly index all content within accordions.
The title shown in the accordion header
The content to be displayed when the accordion is expanded. Can include text, markdown, and components.
This is an example of an accordion component. When clicked, it expands to reveal this additional content.