Skip to content

Collapse

Collapse shows and hides content with a short animation. Point a button or link at the target with data-bs-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-bs-toggle="collapse" shows and hides the target.

Our packaging is plastic-free and every delivery is carbon-neutral. We listen first, then build a plan around what you actually need.

2Link toggle

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

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

3Horizontal collapse

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

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

4Multiple targets

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

Each product is checked by hand before it goes into the box.
Members get early access to new drops and prices only they can see.

5Read more

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

Free shipping on orders over $50 and easy returns within 30 days. Thousands of shoppers already trust us, and we work hard to keep it that way.

Start in minutes and get help from a real person whenever you need it. We work directly with makers, so prices stay fair for everyone. We measure success by how many shoppers come back and tell their friends.

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-4677$715.69
Billed to Elena Okafor, Austin. Due Jan 30, 2027.
#TX-7886$819.98
Billed to Finn Brennan, Lisbon. Due Dec 6, 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
86.4k
22% this week

11Open by default

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

Each product is checked by hand before it goes into the box. Every piece is made in small batches from materials we test ourselves.

12Rotating chevron

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

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

13Comments thread

Keep a feed short and let readers open the replies.

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

Owen Carter
Owen Carter Order before 2 pm and most items leave our warehouse the same day.
Noah Lindqvist
Noah Lindqvist New pieces arrive every month, and the best ones sell out fast.

14Release notes

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

Version 4.3 Stable
Oct 16, 2026
  • Member prices
  • Secure payments
  • Faster loading on slow connections

15Specification list

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

Weight
3.8 kg
Dimensions
24 x 53 x 7 cm
Warranty
1 years

16Expandable search bar

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

Lumenen

17Onboarding checklist

Each checklist step expands to explain what to do.

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

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

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

18Swap two panels

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

Read-only view: Not sure about the size? Our fit guide and live chat help you choose.

19Grouped notifications

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

  • Members get early access to new drops and prices only they can see.
    • Thousands of shoppers already trust us, and we work hard to keep it that way.
    • 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.

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

  • Design: $1,971.22
  • Development: $5,890.56
  • Marketing: $6,722.16