Logo Docs

Accordion

Accordion

Tailwind Accordion is a collapsible UI element built using Tailwind. It allows users to expand and collapse sections of content by clicking on headers, revealing and hiding information on demand.

Basic Usage

Use data-mv-accordion selector to enable accordion behavior where clicking a section header expands its content, while others collapse.

Default Open

Use active class on an accordion to display a specific section by default.

MVUi embraces flexible licensing options that empower you to choose the perfect fit for your project's needs and budget.

Expand All

Use data-mv-accordion-expand-all="true" attribute to keep all accordions visible at all times despite toggling.

MVUi embraces flexible licensing options that empower you to choose the perfect fit for your project's needs and budget.

Outline Style

Apply mv-accordion-outline class to add custom border styles to your accordion.

MVUi embraces flexible licensing options that empower you to choose the perfect fit for your project's needs and budget.