childrenRequired | React.ReactNode | Not set | Accordion items (use Accordion.Item with Accordion.Trigger and Accordion.Content) |
className | string | undefined | Not set | — |
Content.childrenRequired | React.ReactNode | Not set | — |
Content.className | string | undefined | Not set | — |
Content.hiddenUntilFound | boolean | undefined | Not set | Let the browser's find-in-page reveal closed content. |
Content.keepMounted | boolean | undefined | Not set | Keep the content mounted while closed. |
defaultValue | AccordionValue | undefined | Not set | Items open at first (uncontrolled) |
disabled | boolean | undefined | false | Make every item inert |
headingLevel | AccordionHeadingLevel | undefined | 3 | Semantic heading level for accordion triggers |
Item.childrenRequired | React.ReactNode | Not set | — |
Item.className | string | undefined | Not set | — |
Item.disabled | boolean | undefined | Not set | Make this item inert (focusable, dimmed once). |
Item.valueRequired | string | Not set | Unique value for this item. |
multiple | boolean | undefined | false | Let several items stay open at once; a single accordion closes the open item when another opens or when it is pressed again |
onValueChange | ((value: AccordionValue, eventDetails: AccordionChangeEventDetails) => void) | undefined | Not set | Called with the open items - (value: string[], eventDetails) => void |
Trigger.childrenRequired | React.ReactNode | Not set | — |
Trigger.className | string | undefined | Not set | — |
value | AccordionValue | undefined | Not set | Controlled open items |