> For the complete documentation index, see [llms.txt](https://codedthemes.gitbook.io/berry/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codedthemes.gitbook.io/berry/v3.9.0/components/accordion.md).

# Accordion

This component extends the original component provided by MUI: <https://mui.com/material-ui/react-accordion/>

The extended properties are:&#x20;

|                   |                           |                     |
| ----------------- | ------------------------- | ------------------- |
| data              | AccordionItem\[]          |                     |
| defaultExpandedId | string \| boolean \| null |                     |
| expandIcon        | ReactElement              |                     |
| square            | boolean                   | true(default),false |
| toggle            | boolean                   | true(default),false |

Live Preview: <https://berrydashboard.com/basic/accordion>

{% hint style="info" %}
Asterisk (<mark style="color:red;">\*</mark>) indicates required props.
{% endhint %}
