1. Components
  2. Accordion

Components

Tailwind CSS Accordion

Browse free customizable Tailwind CSS accordions. Choose from basic, nested, bordered, arrowed, and other styles to collapse and expand UI elements.

Requires JS

Note that this component requires the use of our Accordion plugin, else you can skip this message if you are already using Preline UI as a package.

Example

Click the accordions below to expand/collapse the accordion content.

Theme:

Always open

To make accordion items stay open when another item is opened, use data-hs-accordion-always-open.

Theme:

Nested

A basic form of the accordion with sub menu.

Theme:

No arrow

Example with no arrow.

Theme:

With arrow

A basic form of the accordion with arrow.

Theme:

With title and arrow stretched

A basic form of the accordion with title and arrow stretched.

Theme:

Bordered

A basic form of the bordered accordion.

Theme:

Active content bordered

Active content bordered accordion.

Theme:

Destroy and Reinitialize

Provides destroy method that helps to destroy an accordion.

Theme: