Accordion

Sections that open one at a time or many. The marker is a plus that rotates into a minus.

pulls in@base-ui/reactlucide-react@afterglow/theme

Installation

npx shadcn@latest add @afterglow/accordion

Composition

Component structure.

Accordion
└── AccordionItem
    ├── AccordionTrigger
    └── AccordionContent

API 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.