How to create a accordion layout ?

Undraw Website Builder Re Ii6e

About

accordion is a UI component that lays out panels in an accordion fashion that toggle (collapse or expand) when clicked.

You can also choose tabs as other navigational collapsible layout for panels.

Example

By default, panels are collpased, if you don't want, you need to set it explicitly to false.

<accordion>
    <panel collapsed="false">
        <label>Collapsible Group Item #1</label>
        Some placeholder content for the first accordion card. This card is shown by default because of the ''collapsed'' attribute.
    </panel>
    <panel>
        <label><icon name="hamburger"/> Menu</label>
        === With Hamburger Icon ===
        You can use all syntaxes inside a label [[:docs:content:icon|icon included]]
    </panel>
</accordion>

Some placeholder content for the first accordion card. This card is shown by default because of the collapsed attribute.

With Hamburger Icon

You can use all syntaxes inside a label icon included




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Undraw My Documents
ComboStrap UI - Collapse

collapse is a menubar component that will collapse its children on a smaller screen making them only visible by clicking on the sandwich icon. the toggle the accordion All the element that are...
Undraw Website Builder Re Ii6e
Layout components of Combostrap

A layout component is a component that laid out other components. This page lists the layout component of ComboStrap
Undraw Website Builder Re Ii6e
Panel: A component layout in tabs or accordion

A panel is a UI component that you can used in a tabs or accordion
Undraw Website Builder Re Ii6e
Tabs: layout panels in tab

A tabs is an layout, interactive and navigational element that is composed of a a serie of tab that, when activated, displays their associated panel.
Undraw My Documents
Toggle

toggle is an animation that can: hide (collapse) a component automatically from a certain screen size or with a click action display (expand) a component with a click action The available...
Undraw My Documents
What are the Navigational components in Combostrap?

How to improve the navigation of your website with the navigational components



Task Runner