Skip to content

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.

We measure success by how many shoppers come back and tell their friends. Friendly people answer your questions quickly, by phone, chat or email.

2Link toggle

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

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

3Horizontal collapse

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

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

4Multiple targets

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

Members get early access to new drops and prices only they can see.
Thousands of five-star reviews from customers who came back for more.

5Read more

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

Start in minutes and get help from a real person whenever you need it. Free shipping on orders over $50 and easy returns within 30 days.

Order before 2 pm and most items leave our warehouse the same day. Pay securely with card, wallet or in three interest-free instalments. We listen first, then build a plan around what you actually need.

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
#PO-9019$234.61
Billed to Lea Okafor, Copenhagen. Due Nov 10, 2026.
#TX-9003$263.09
Billed to Ava Ashford, Toronto. Due Dec 21, 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
36.2k
26% this week

11Open by default

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

We measure success by how many shoppers come back and tell their friends. Members get early access to new drops and prices only they can see.

12Rotating chevron

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

Order before 2 pm and most items leave our warehouse the same day.

13Comments thread

Keep a feed short and let readers open the replies.

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

Mason Lindqvist
Mason Lindqvist We work directly with makers, so prices stay fair for everyone.
Samir Moreau
Samir Moreau Gift wrapping and a handwritten note are free on every order.

14Release notes

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

Version 2.2 Stable
May 30, 2026
  • Member prices
  • Sustainable materials
  • Faster loading on slow connections

15Specification list

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

Weight
5.5 kg
Dimensions
54 x 43 x 16 cm
Warranty
3 years

16Expandable search bar

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

Xenoara Pro

17Onboarding checklist

Each checklist step expands to explain what to do.

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

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

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

18Swap two panels

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

Read-only view: Every detail is handled by people who care about getting it right.

19Grouped notifications

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

  • We keep things simple, so you can focus on what matters to you.
    • Every piece is made in small batches from materials we test ourselves.
    • Clear prices, honest advice and no surprises along the way.

20Nested collapse

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

Free shipping on orders over $50 and easy returns within 30 days.

  • Design: $3,471.81
  • Development: $5,148.78
  • Marketing: $3,315.47