+++ [taxonomies] section = ["Components"] +++ # Accordion ## Basic The accordion component allows to hide and show content in the page. The accordion is composed of the following elements: - `msp-accordion`: the main container that encapsulates multiple toggable elements. - `msp-accordion-item`: a single toggable element. - `msp-accordion-header`: this element acts as the header and responds to the `onclick` event to toggle the content. - `msp-accordion-collapse`: container for the content, needed to help with dynamic height and transitions. - `msp-accordion-content`: the content of the accordion. ### Example: ```html ```