Accordion Groups combine multiple accordions into a single collapsible interface. They maintain consistent styling and behavior while organizing related content into manageable sections.

Examples

This is a basic example of an accordion group.

You can embed photos, videos, and other media within accordions for rich interactive content.

Accordions can contain rich content including code blocks, callouts, and other components.

1// Example of code inside an accordion
2export function greet(name: string) {
3 return `Hello, ${name}!`;
4}
  • Use accordion groups when you have multiple related sections
  • Each accordion should have a clear, descriptive title
  • Keep content concise and focused
Built with