Skip to content

Accordion

Accordions stack collapsible panels so long content stays short and scannable. They are built on the collapse plugin: link each panel to a parent with data-ui-parent for one-at-a-time behaviour, or leave it out to let several stay open.

1Basic accordion

Three panels where opening one closes the others; the first panel starts open.

Modern equipment is cleaned, serviced and ready every day.

Built for active people. Every detail is handled by people who care about getting it right.

Our recovery spa has a sauna, cold plunge and massage rooms.

2Flush accordion

Removes the outer borders and rounded corners so the accordion sits edge to edge inside a parent.

We keep things simple, so you can focus on what matters to you.

Friendly people answer your questions quickly, by phone, chat or email.

Certified coaches design every session around your level and your goals.

3Always open

Leave out data-ui-parent and each panel opens and closes on its own, so several can be open at once.

Small group classes mean your coach knows your name and your form.

Our team has done this many times, so you never have to guess.

More than sixty classes a week, from sunrise yoga to late-night spin.

4All panels collapsed

Start with everything closed when the headers alone give a good overview.

Start in minutes and get help from a real person whenever you need it.

Beginners are always welcome, with an intro session included.

Clear prices, honest advice and no surprises along the way.

Community events keep you motivated, from fun runs to workshops.

5FAQ with icons

A help-centre FAQ: an icon in each header makes the questions easy to scan.

All major cards and bank transfer. We measure success by how many members come back and tell their friends.

Yes, upgrade or downgrade at any time. Nutrition plans fit your routine and the food you actually enjoy.

Track your progress in the app and see how far you have come.

Write to support any day of the week. Pause or change your membership any time, with no long contracts.

6Headers with badges

Count badges pushed to the right show how many items wait inside each panel.

Start in minutes and get help from a real person whenever you need it.

Nutrition plans fit your routine and the food you actually enjoy.

We listen first, then build a plan around what you actually need.

7Settings panel in a card

A flush accordion inside a card groups account settings into tidy sections.

Account settings

Pause or change your membership any time, with no long contracts.

8Order history

Each header summarises an order (number, date, status); the body holds the line items.

ItemQtyTotal
Bootcamp2$139.99

ItemQtyTotal
10-class pack2$112.99

ItemQtyTotal
Personal training3$62.00

9Sidebar navigation

Collapsible menu sections with list groups as bodies, a common admin sidebar pattern.

10Checkout steps

A checkout split into steps, each holding a small form; a classic one-page checkout layout.

Order total: $305.55

11Media in the body

Panels can hold any content: here an image with a short description side by side.

Project preview

Every detail is handled by people who care about getting it right.

View project

Project preview

Track your progress in the app and see how far you have come.

12Tinted active header

A little custom CSS tints the open header with the theme primary colour.

Small group classes mean your coach knows your name and your form.

Our recovery spa has a sauna, cold plunge and massage rooms.

Open 24 hours, so you can train whenever it suits your day.

13Nested accordion

An accordion inside a panel for two-level content such as chapters and lessons.

Thousands of members already trust us, and we work hard to keep it that way.

Our team has done this many times, so you never have to guess.

Clear prices, honest advice and no surprises along the way.

14Compact accordion

Smaller padding and text for dense side panels and filters.

Strength, Cardio

& up

15Two-column pricing FAQ

Two independent accordions side by side fill wide screens and stack on phones.

Yes, 20 days with every feature. Beginners are always welcome, with an intro session included.

More than sixty classes a week, from sunrise yoga to late-night spin.

Yearly billing saves 12%. Community events keep you motivated, from fun runs to workshops.

We measure success by how many members come back and tell their friends.

16Team directory

Avatars and roles in the headers; contact details appear when a person is opened.

Edinburgh · mateo.rossi@example.com

Melbourne · ruby.alvarez@example.com

Vancouver · tariq.brennan@example.com

17Changelog

Release notes per version with type badges; the newest release starts open.

  • NewCommunity events
  • ImprovedOpen 24/7
  • FixedSeveral layout issues on small screens

  • FixedExport now keeps the column order

18Actions inside panels

Panels that end with buttons, useful for reviewing and approving requests.

4 days from Nov 17, 2026. We keep things simple, so you can focus on what matters to you.

Certified coaches design every session around your level and your goals.

19Dark accordion

Wrap it in data-ui-theme="dark" to get a dark accordion on any page.

Modern equipment is cleaned, serviced and ready every day.

Press Ctrl + K to search everywhere.

20Course modules with progress

Each module shows its completion in the header and a progress bar inside.

Friendly people answer your questions quickly, by phone, chat or email.

Online coaching keeps you on track when you travel.

Community events keep you motivated, from fun runs to workshops.