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-bs-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.

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

Built for active people. Start in minutes and get help from a real person whenever you need it.

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.

Beginners are always welcome, with an intro session included.

Modern equipment is cleaned, serviced and ready every day.

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

3Always open

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

Online coaching keeps you on track when you travel.

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

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

4All panels collapsed

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

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

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

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

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

5FAQ with icons

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

All major cards and bank transfer. Community events keep you motivated, from fun runs to workshops.

Yes, upgrade or downgrade at any time. We keep things simple, so you can focus on what matters to you.

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

Write to support any day of the week. We measure success by how many members come back and tell their friends.

6Headers with badges

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

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

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

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

7Settings panel in a card

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

Account settings

Online coaching keeps you on track when you travel.

8Order history

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

ItemQtyTotal
Day pass2$14.00

ItemQtyTotal
Monthly pass3$49.00

ItemQtyTotal
Personal training3$70.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: $69.67

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

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

12Tinted active header

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

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

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

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

13Nested accordion

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

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

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

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

14Compact accordion

Smaller padding and text for dense side panels and filters.

Recovery, Strength

& up

15Two-column pricing FAQ

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

Yes, 20 days with every feature. Small group classes mean your coach knows your name and your form.

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

Yearly billing saves 11%. Thousands of members already trust us, and we work hard to keep it that way.

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

16Team directory

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

Lisbon · chloe.whitaker@example.com

Prague · luna.hughes@example.com

Denver · nadia.novak@example.com

17Changelog

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

  • NewProgress tracking
  • ImprovedProgress tracking
  • 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 Dec 10, 2026. Modern equipment is cleaned, serviced and ready every day.

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

19Dark accordion

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

Beginners are always welcome, with an intro session included.

Press Ctrl + K to search everywhere.

20Course modules with progress

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

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

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

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