Skip to content
Iris Hub

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.

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

Built for food lovers. Order for pickup or delivery and enjoy the same dishes at home.

Our menu changes with the seasons and the best produce from nearby farms.

2Flush accordion

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

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

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

Every dish is cooked to order, so tell us if you would like anything changed.

3Always open

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

Book a table online in seconds, or call us for groups of eight or more.

Cooking classes on Saturday mornings teach you our favourite recipes.

Children are always welcome, with a menu made just for them.

4All panels collapsed

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

Our terrace is open from spring to autumn, with heaters for cooler evenings.

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

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

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

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 have been feeding this neighbourhood for over a decade, and we still love it.

Yes, upgrade or downgrade at any time. Private dining rooms seat up to forty guests for birthdays and business dinners.

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

Write to support any day of the week. Our sommelier has paired each dish with wines from small family vineyards.

6Headers with badges

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

Bread is baked every morning and pasta is rolled by hand in our kitchen.

Children are always welcome, with a menu made just for them.

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

7Settings panel in a card

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

Account settings

Book a table online in seconds, or call us for groups of eight or more.

8Order history

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

ItemQtyTotal
Burrata with tomatoes3$13.00

ItemQtyTotal
Burrata with tomatoes3$15.00

ItemQtyTotal
Wood-fired pizza1$19.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: $122.14

11Media in the body

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

Project preview

Order for pickup or delivery and enjoy the same dishes at home.

View project

Project preview

Our sommelier has paired each dish with wines from small family vineyards.

12Tinted active header

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

Cooking classes on Saturday mornings teach you our favourite recipes.

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

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

13Nested accordion

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

Every dish is cooked to order, so tell us if you would like anything changed.

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

Our menu changes with the seasons and the best produce from nearby farms.

14Compact accordion

Smaller padding and text for dense side panels and filters.

Desserts, Desserts

& up

15Two-column pricing FAQ

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

Yes, 10 days with every feature. Clear prices, honest advice and no surprises along the way.

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

Yearly billing saves 10%. Our terrace is open from spring to autumn, with heaters for cooler evenings.

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.

Auckland · luna.quinn@example.com

Valencia · nadia.duarte@example.com

Toronto · arjun.okafor@example.com

17Changelog

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

  • NewChef's specials
  • ImprovedOnline reservations
  • 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.

3 days from Oct 23, 2026. Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.

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

19Dark accordion

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

Private dining rooms seat up to forty guests for birthdays and business dinners.

Press Ctrl + K to search everywhere.

20Course modules with progress

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

We have been feeding this neighbourhood for over a decade, and we still love it.

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

Our sommelier has paired each dish with wines from small family vineyards.