---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.1
alternate:
  - https://diplodoc.com/docs/en/syntax/interactive-elements/accordion.md
  - https://diplodoc.com/docs/ru/syntax/interactive-elements/accordion.md
  - href: en/syntax/interactive-elements/accordion.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
updatedAt: '2026-08-11T13:35:17.000Z'
---
> **Documentation Index:** Fetch the complete configuration index at https://diplodoc.com/docs/en/llms.txt

# Accordion

Accordion allows you to collapse or expand content of your choice, suitable for organizing large amounts of information.

<!-- source: en/_includes/blank-lines-note.md -->
{% note warning %}

The construct works only if it is separated by blank lines — outside (before the opening and after the closing tag) and inside (between the tags and the content). Otherwise, it will not be processed and will remain plain text.

{% endnote %}
<!-- endsource: en/_includes/blank-lines-note.md -->

```markdown
{% list tabs accordion %}

- Название пункта 1

  Контент для пункта 1.

- Название пункта 2

  Контент для пункта 2.
 
- Название пункта 3

  Контент для пункта 3.

{% endlist %}
```

**Result:**

{% list tabs accordion %}

- Name of item 1

  Content for item 1.

- Name of item 2

  Content for item 2.
 
- Item name 3

  Content for item 3.

{% endlist %}

<!-- source: en/_includes/common-params-note.md -->
{% note info %}

Tabs, accordions, radio buttons, and dropdowns share common properties described on the page [Common parameters](https://diplodoc.com/docs/en/syntax/interactive-elements/common-params.md).

{% endnote %}
<!-- endsource: en/_includes/common-params-note.md -->

