<commit_before>---
title: Accordion
taxonomy:
    category: docs
---

Buildr comes with the ability to transform a standard Joomla menu module published to a sidebar position into a collapsible accordion menu.

An accordion menu allows the user to view nested menu items in a menu by clicking on the parent item. Any type of menu item can be used as a parent menu item to open and close the accordion.

The accordion comes with two options that are defined in the template settings:
- A traditional accordion menu which allows a single nested menu item to be open at a time.
- Or a panel menu which allows multiple nested sub level items to be open at a time.

In addition to the template settings below, the menu module needs a module class suffix of 'accordion' for the correct styling and javascript to be applied to the menu.


### Accordion settings
![General Layout](accordion.jpg)<commit_msg>Fix zen-accordion reference.<commit_after>---
title: Accordion
taxonomy:
    category: docs
---

Buildr comes with the ability to transform a standard Joomla menu module published to a sidebar position into a collapsible accordion menu.

An accordion menu allows the user to view nested menu items in a menu by clicking on the parent item. Any type of menu item can be used as a parent menu item to open and close the accordion.

The accordion comes with two options that are defined in the template settings:
- A traditional accordion menu which allows a single nested menu item to be open at a time.
- Or a panel menu which allows multiple nested sub level items to be open at a time.

In addition to the template settings below, the menu module needs a menu class suffix of 'zen-accordion' for the correct styling and javascript to be applied to the menu.


### Accordion settings
![General Layout](accordion.jpg)
{'fraction_non_alphanumeric': 0.03801652892561983, 'fraction_numerical': 0.0, 'mean_word_length': 4.101123595505618, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2388271', 'n_tokens_mistral': 452, 'n_tokens_neox': 433, 'n_words': 295}