` that contains the Accordion Summary, Accordion Details, and optional Accordion Actions for action buttons.
```jsx
```
# Accordion API
## Demos
For examples and details on the usage of this React component, visit the component demo pages:
- [Accordion](https://mui.com/material-ui/react-accordion/)
## Import
```jsx
import Accordion from '@mui/material/Accordion';
// or
import { Accordion } from '@mui/material';
```
## Props
| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| children | `node` | - | Yes | |
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| defaultExpanded | `bool` | `false` | No | |
| disabled | `bool` | `false` | No | |
| disableGutters | `bool` | `false` | No | |
| expanded | `bool` | - | No | |
| onChange | `function(event: React.SyntheticEvent, expanded: boolean) => void` | - | No | |
| slotProps | `{ heading?: func \| object, region?: func \| object, root?: func \| object, transition?: func \| object }` | `{}` | No | |
| slots | `{ heading?: elementType, region?: elementType, root?: elementType, transition?: elementType }` | `{}` | No | |
| sx | `Array
\| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |
> **Note**: The `ref` is forwarded to the root element (HTMLDivElement).
> Any other props supplied will be provided to the root element ([Paper](https://mui.com/material-ui/api/paper/)).
## Inheritance
While not explicitly documented above, the props of the [Paper](https://mui.com/material-ui/api/paper/) component are also available on Accordion.
## Theme default props
You can use `MuiAccordion` to change the default props of this component with the theme.
## Slots
| Name | Default | Class | Description |
|------|---------|-------|-------------|
| root | `Paper` | `.MuiAccordion-root` | The component that renders the root. |
| heading | `'h3'` | `.MuiAccordion-heading` | The component that renders the heading. |
| transition | `Collapse` | - | The component that renders the transition.
[Follow this guide](/material-ui/transitions/#transition-slots) to learn more about the requirements for this component. |
| region | `'div'` | `.MuiAccordion-region` | The component that renders the region. |
## CSS
### Rule name
| Global class | Rule name | Description |
|--------------|-----------|-------------|
| `.Mui-disabled` | - | State class applied to the root element if `disabled={true}`. |
| `.Mui-expanded` | - | State class applied to the root element if `expanded={true}`. |
| - | gutters | Styles applied to the root element unless `disableGutters={true}`. |
| - | rounded | Styles applied to the root element unless `square={true}`. |
## Source code
If you did not find the information on this page, consider having a look at the implementation of the component for more detail.
- [/packages/mui-material/src/Accordion/Accordion.js](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material/src/Accordion/Accordion.js)
# AccordionActions API
## Demos
For examples and details on the usage of this React component, visit the component demo pages:
- [Accordion](https://mui.com/material-ui/react-accordion/)
## Import
```jsx
import AccordionActions from '@mui/material/AccordionActions';
// or
import { AccordionActions } from '@mui/material';
```
## Props
| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| children | `node` | - | No | |
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| disableSpacing | `bool` | `false` | No | |
| sx | `Array \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |
> **Note**: The `ref` is forwarded to the root element (HTMLDivElement).
> Any other props supplied will be provided to the root element (native element).
## Theme default props
You can use `MuiAccordionActions` to change the default props of this component with the theme.
## CSS
### Rule name
| Global class | Rule name | Description |
|--------------|-----------|-------------|
| - | root | Styles applied to the root element. |
| - | spacing | Styles applied to the root element unless `disableSpacing={true}`. |
## Source code
If you did not find the information on this page, consider having a look at the implementation of the component for more detail.
- [/packages/mui-material/src/AccordionActions/AccordionActions.js](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material/src/AccordionActions/AccordionActions.js)
# AccordionDetails API
## Demos
For examples and details on the usage of this React component, visit the component demo pages:
- [Accordion](https://mui.com/material-ui/react-accordion/)
## Import
```jsx
import AccordionDetails from '@mui/material/AccordionDetails';
// or
import { AccordionDetails } from '@mui/material';
```
## Props
| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| children | `node` | - | No | |
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| sx | `Array \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |
> **Note**: The `ref` is forwarded to the root element (HTMLDivElement).
> Any other props supplied will be provided to the root element (native element).
## Theme default props
You can use `MuiAccordionDetails` to change the default props of this component with the theme.
## CSS
### Rule name
| Global class | Rule name | Description |
|--------------|-----------|-------------|
| - | root | Styles applied to the root element. |
## Source code
If you did not find the information on this page, consider having a look at the implementation of the component for more detail.
- [/packages/mui-material/src/AccordionDetails/AccordionDetails.js](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material/src/AccordionDetails/AccordionDetails.js)
# AccordionSummary API
## Demos
For examples and details on the usage of this React component, visit the component demo pages:
- [Accordion](https://mui.com/material-ui/react-accordion/)
## Import
```jsx
import AccordionSummary from '@mui/material/AccordionSummary';
// or
import { AccordionSummary } from '@mui/material';
```
## Props
| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| children | `node` | - | No | |
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| expandIcon | `node` | - | No | |
| focusVisibleClassName | `string` | - | No | |
| slotProps | `{ content?: func \| object, expandIconWrapper?: func \| object, root?: func \| object }` | `{}` | No | |
| slots | `{ content?: elementType, expandIconWrapper?: elementType, root?: elementType }` | `{}` | No | |
| sx | `Array \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |
> **Note**: The `ref` is forwarded to the root element (HTMLButtonElement).
> Any other props supplied will be provided to the root element ([ButtonBase](https://mui.com/material-ui/api/button-base/)).
## Inheritance
While not explicitly documented above, the props of the [ButtonBase](https://mui.com/material-ui/api/button-base/) component are also available on AccordionSummary.
## Theme default props
You can use `MuiAccordionSummary` to change the default props of this component with the theme.
## Slots
| Name | Default | Class | Description |
|------|---------|-------|-------------|
| root | `ButtonBase` | `.MuiAccordionSummary-root` | The component that renders the root slot. |
| content | `div` | `.MuiAccordionSummary-content` | The component that renders the content slot. |
| expandIconWrapper | `div` | `.MuiAccordionSummary-expandIconWrapper` | The component that renders the expand icon wrapper slot. |
## CSS
### Rule name
| Global class | Rule name | Description |
|--------------|-----------|-------------|
| `.Mui-disabled` | - | State class applied to the root element if `disabled={true}`. |
| `.Mui-expanded` | - | State class applied to the root element, children wrapper element and `IconButton` component if `expanded={true}`. |
| `.Mui-focusVisible` | - | State class applied to the ButtonBase root element if the button is keyboard focused. |
| - | gutters | Styles applied to the root element unless `disableGutters={true}`. |
## Source code
If you did not find the information on this page, consider having a look at the implementation of the component for more detail.
- [/packages/mui-material/src/AccordionSummary/AccordionSummary.js](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material/src/AccordionSummary/AccordionSummary.js)