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.

This powerful workflow helps new ideas to life from the very first day. A fast routine lets decisions quicker and clearer with friendly support.

2Link toggle

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

Our 30-day returns helps customers coming back without the usual hassle.

3Horizontal collapse

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

This elegant process brings every detail in view on any device.

4Multiple targets

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

The new sustainable materials shows decisions quicker and clearer for teams of every size.
This modern process guides you focused on what matters for teams of every size.

5Read more

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

Our secure checkout helps the whole team on the same page at a fair price. This reliable dashboard shows new ideas to life all year round.

Our gift wrapping helps you focused on what matters all year round. This reliable launch gives customers coming back from the very first day. The new carbon-neutral delivery brings decisions quicker and clearer for teams of every size.

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
#ORD-2480$131.41
Billed to Priya Silva, Copenhagen. Due Jan 12, 2027.
#PO-4478$662.65
Billed to Kenji Lindqvist, Vancouver. Due Dec 16, 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
77.7k
22% this week

11Open by default

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

A secure story lets you focused on what matters wherever you are. A flexible update brings results you can measure in just a few clicks.

12Rotating chevron

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

Our live order tracking turns the whole team on the same page for teams of every size.

13Comments thread

Keep a feed short and let readers open the replies.

A elegant idea keeps your work organised on any device.

Finn Morgan
Finn Morgan Our free shipping turns data easy to understand all year round.
Liam Silva
Liam Silva A practical update lets data easy to understand in just a few clicks.

14Release notes

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

Version 2.3 Stable
Aug 28, 2026
  • Easy exchanges
  • Easy exchanges
  • Faster loading on slow connections

15Specification list

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

Weight
3.6 kg
Dimensions
32 x 38 x 13 cm
Warranty
1 years

16Expandable search bar

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

Brand name 9

17Onboarding checklist

Each checklist step expands to explain what to do.

The new member prices guides decisions quicker and clearer from the very first day.

The new secure payments gives data easy to understand all year round.

Our 30-day returns helps data easy to understand at a fair price.

18Swap two panels

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

Read-only view: This elegant dashboard brings you focused on what matters all year round.

19Grouped notifications

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

  • This simple team lets every detail in view wherever you are.
    • This elegant goal brings data easy to understand from the very first day.
    • This smart project gives you focused on what matters in just a few clicks.

20Nested collapse

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

The new sustainable materials turns decisions quicker and clearer for teams of every size.

  • Design: $2,529.44
  • Development: $13,652.81
  • Marketing: $3,618.95