<cad-accordion> + <cad-accordion-item>
Accordion
Expand or collapse sections of content. Allow several sections open, or keep only one open at a time.
Single-open review questions
Use a Map when you need to look up values by key repeatedly.
When you only need to search a small collection once.
Describe the inputs, expected output, and why you chose this approach.
API reference: <cad-accordion>
API reference: <cad-accordion-item>
Behavior
cad-accordion-toggle reports { open } when an item opens or closes. Set animation="none" to disable animation; reduced-motion preferences also disable it. Disabled items keep their content but remove the summary from the tab order.