Optional
childrenOptional
classOptional CSS class name.
Optional
CollapseAdditional properties for the Collapse component, excluding 'unmountOnExit' and 'in'.
Optional
customUsed for tests. Clickable and requested subcomponents will be suffixed with "-[ComponentName]".
Optional
disabledIf true, the component is disabled.
Optional
expandedControls the expanded state of the accordion.
Use this prop along with onChange
to create a controlled component where you need to manage the state yourself.
If not provided, the accordion will be uncontrolled and manage its own state internally.
Optional
idA unique identifier for the component. Used internally for setting WAI-ARIA relationships.
Optional
isIf true, a loading skeleton will be rendered instead of the component.
Optional
unmountDetermines if the child components should be unmounted when the accordion collapses. If true, the children are removed from the DOM when the accordion is not expanded. Defaults to false, keeping the children in the DOM but hidden.
Content elements displayed within the AccordionDetails.