Skip to content
Emberium Deck

Collapse

Collapse shows and hides content with a short animation. Point a button or link at the target with data-ui-toggle="collapse", keep aria-expanded and aria-controls in sync, and use it for read-more text, filter panels, sub-menus and expandable rows.

1Button toggle

A button with data-ui-toggle="collapse" shows and hides the target.

Every detail is handled by people who care about getting it right. Start in minutes and get help from a real person whenever you need it.

2Link toggle

A link with href="#id" and role="button" works the same way.

Pay securely with card, wallet or in three interest-free instalments.

3Horizontal collapse

collapse-horizontal animates the width; the content needs a fixed width.

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

4Multiple targets

One button can toggle several elements by targeting a shared class.

Our packaging is plastic-free and every delivery is carbon-neutral.
Clear prices, honest advice and no surprises along the way.

5Read more

Show the first part of a text and reveal the rest on demand.

Members get early access to new drops and prices only they can see. Friendly people answer your questions quickly, by phone, chat or email.

We measure success by how many shoppers come back and tell their friends. Our team has done this many times, so you never have to guess. Clear prices, honest advice and no surprises along the way.

6Filter panel

A filter button above a table reveals extra search fields.

7Sidebar sub-menus

Nested navigation where each section expands to show its links.

8Expandable table rows

A detail row under each table row opens with a small toggle.

InvoiceAmountDetails
#TX-4871$816.78
Billed to Zoe Rossi, Barcelona. Due Nov 14, 2026.
#PO-2508$816.67
Billed to Leo Kowalski, Montreal. Due Dec 23, 2026.

9Advanced form options

Hide rarely used settings behind an "Advanced" toggle.

10Minimisable card

A header button collapses the card body, as in dashboard widgets.

Traffic
46.1k
16% this week

11Open by default

Add .show to start expanded; the button's aria-expanded is then true.

Every detail is handled by people who care about getting it right. Free shipping on orders over $50 and easy returns within 30 days.

12Rotating chevron

A chevron that turns when the panel opens, driven by aria-expanded in CSS.

New pieces arrive every month, and the best ones sell out fast.

13Comments thread

Keep a feed short and let readers open the replies.

Pay securely with card, wallet or in three interest-free instalments.

Owen Quinn
Owen Quinn Order before 2 pm and most items leave our warehouse the same day.
Nadia Harlow
Nadia Harlow We listen first, then build a plan around what you actually need.

14Release notes

A compact version line that expands into the full change list.

Version 3.9 Stable
Aug 28, 2026
  • Carbon-neutral delivery
  • Member prices
  • Faster loading on slow connections

15Specification list

A definition list of technical details hidden behind a full-width toggle.

Weight
5.3 kg
Dimensions
49 x 31 x 16 cm
Warranty
2 years

16Expandable search bar

A search icon in a header opens a full-width search field below it.

Emberium Deck

17Onboarding checklist

Each checklist step expands to explain what to do.

Our packaging is plastic-free and every delivery is carbon-neutral.

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

Thousands of five-star reviews from customers who came back for more.

18Swap two panels

Two collapses sharing a class swap places: one hides while the other shows.

Read-only view: Every piece is made in small batches from materials we test ourselves.

19Grouped notifications

Older notifications collapse into a single "show earlier" row.

  • Members get early access to new drops and prices only they can see.
    • We work directly with makers, so prices stay fair for everyone.
    • Start in minutes and get help from a real person whenever you need it.

20Nested collapse

A collapse inside another for drilling into details step by step.

Gift wrapping and a handwritten note are free on every order.

  • Design: $1,987.63
  • Development: $7,933.58
  • Marketing: $7,749.02