Skip to content
Zest

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.

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

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

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.

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

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

Cooking classes on Saturday mornings teach you our favourite recipes.

3Always open

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

Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.

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

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.

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

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

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

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

5FAQ with icons

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

All major cards and bank transfer. Friendly people answer your questions quickly, by phone, chat or email.

Yes, upgrade or downgrade at any time. Children are always welcome, with a menu made just for them.

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

Write to support any day of the week. Clear prices, honest advice and no surprises along the way.

6Headers with badges

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

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

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

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

7Settings panel in a card

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

Account settings

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

8Order history

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

ItemQtyTotal
Espresso martini2$11.00

ItemQtyTotal
House lemonade1$5.00

ItemQtyTotal
Seasonal soup3$8.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: $232.88

11Media in the body

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

Project preview

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

View project

Project preview

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

12Tinted active header

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

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

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

Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.

13Nested accordion

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

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

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

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

14Compact accordion

Smaller padding and text for dense side panels and filters.

Specials, Specials

& up

15Two-column pricing FAQ

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

Yes, 13 days with every feature. Start in minutes and get help from a real person whenever you need it.

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

Yearly billing saves 21%. Friendly people answer your questions quickly, by phone, chat or email.

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

16Team directory

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

Denver · felix.patel@example.com

Seoul · ivy.alvarez@example.com

Copenhagen · luna.sato@example.com

17Changelog

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

  • NewVegan options
  • ImprovedVegan options
  • 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.

9 days from Dec 25, 2026. Cooking classes on Saturday mornings teach you our favourite recipes.

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

19Dark accordion

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

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

Press Ctrl + K to search everywhere.

20Course modules with progress

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

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

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

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