Accordion of native <details> items. Item values come from each
<AccordionItem value>, defaulting to the index, and each item's open
attribute is rendered from the value so server output already shows the
right panels. Open state works uncontrolled (defaultValue) or controlled
(value + onValueChange).
Accordion of native
<details>items. Item values come from each<AccordionItem value>, defaulting to the index, and each item'sopenattribute is rendered from the value so server output already shows the right panels. Open state works uncontrolled (defaultValue) or controlled (value+onValueChange).