Accordion
Sections that open one at a time or many. The marker is a plus that rotates into a minus.
Installation
npx shadcn@latest add @afterglow/accordionComposition
Component structure.
Accordion
└── AccordionItem
├── AccordionTrigger
└── AccordionContentAPI Reference
AccordionContent
Base UI's Panel. Measures its content and animates to the actual height.
Everything else is Base UI accordion's API, documented there.