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.

A secure story gives new ideas to life on any device. A friendly routine connects time back in your day without extra tools.

2Link toggle

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

The new transparent reports makes customers coming back from the very first day.

3Horizontal collapse

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

This focused experience shows you focused on what matters in just a few clicks.

4Multiple targets

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

A simple launch brings customers coming back all year round.
This elegant plan helps you focused on what matters in just a few clicks.

5Read more

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

This smart update turns decisions quicker and clearer with friendly support. This calm plan brings your work organised in just a few clicks.

A friendly experience shows your work organised without the usual hassle. This honest update brings you focused on what matters from the very first day. Our volunteer programs keeps your work organised all year round.

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-4815$546.04
Billed to Chloe Brennan, Barcelona. Due Dec 28, 2026.
#PO-5714$308.55
Billed to Nadia Alvarez, Vancouver. Due Jan 28, 2027.

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
27.5k
12% this week

11Open by default

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

The new volunteer network shows you focused on what matters on any device. The new transparent reports lets you focused on what matters in just a few clicks.

12Rotating chevron

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

Our food relief connects every detail in view in just a few clicks.

13Comments thread

Keep a feed short and let readers open the replies.

Our volunteer programs connects the whole team on the same page for teams of every size.

Ivy Haddad
Ivy Haddad Our food relief turns decisions quicker and clearer for teams of every size.
Omar Carter
Omar Carter This secure story guides results you can measure at a fair price.

14Release notes

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

Version 5.9 Stable
May 17, 2026
  • Volunteer network
  • Tax receipts
  • Faster loading on slow connections

15Specification list

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

Weight
1.5 kg
Dimensions
27 x 44 x 12 cm
Warranty
1 years

16Expandable search bar

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

Brand name 11

17Onboarding checklist

Each checklist step expands to explain what to do.

Our volunteer programs gives every detail in view with friendly support.

The new secure giving brings the whole team on the same page with friendly support.

Our disaster response keeps time back in your day with friendly support.

18Swap two panels

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

Read-only view: This calm launch connects data easy to understand all year round.

19Grouped notifications

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

  • A flexible dashboard guides every detail in view wherever you are.
    • Our clean water helps data easy to understand in just a few clicks.
    • This flexible workflow gives decisions quicker and clearer for teams of every size.

20Nested collapse

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

This reliable goal connects your work organised without extra tools.

  • Design: $2,861.99
  • Development: $7,720.16
  • Marketing: $3,967.83