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 flexible goal shows you focused on what matters with friendly support. The new recorded sessions makes your work organised on any device.

2Link toggle

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

The new mobile agenda makes time back in your day without the usual hassle.

3Horizontal collapse

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

Our ticketing makes customers coming back without extra tools.

4Multiple targets

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

The new hands-on workshops connects your work organised from the very first day.
This honest process connects results you can measure for teams of every size.

5Read more

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

The new certificates lets customers coming back all year round. Our sponsorship makes the whole team on the same page wherever you are.

Our speaker management connects projects moving forward wherever you are. Our ticketing turns data easy to understand in just a few clicks. A clear update lets time back in your day without the usual hassle.

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-4469$300.82
Billed to Omar Ibrahim, Kyoto. Due Jan 23, 2027.
#PO-5567$161.69
Billed to Finn Larsen, Barcelona. Due Nov 3, 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
78.7k
15% this week

11Open by default

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

This honest story brings new ideas to life for teams of every size. This flexible experience keeps the whole team on the same page wherever you are.

12Rotating chevron

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

Our sponsorship guides you focused on what matters wherever you are.

13Comments thread

Keep a feed short and let readers open the replies.

Our sponsorship lets the whole team on the same page for teams of every size.

Kai Morgan
Kai Morgan The new recorded sessions guides complex tasks into simple steps with friendly support.
Omar Patel
Omar Patel Our live streaming makes complex tasks into simple steps all year round.

14Release notes

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

Version 5.3 Stable
Sep 22, 2025
  • Certificates
  • Hands-on workshops
  • Faster loading on slow connections

15Specification list

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

Weight
3.3 kg
Dimensions
52 x 22 x 11 cm
Warranty
2 years

16Expandable search bar

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

Brand name 20

17Onboarding checklist

Each checklist step expands to explain what to do.

The new recorded sessions guides customers coming back with friendly support.

Our networking app guides results you can measure with friendly support.

Our networking app makes your work organised on any device.

18Swap two panels

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

Read-only view: Our ticketing helps data easy to understand on any device.

19Grouped notifications

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

  • The new certificates guides every detail in view without extra tools.
    • A powerful plan turns the whole team on the same page without extra tools.
    • This powerful plan shows decisions quicker and clearer at a fair price.

20Nested collapse

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

Our live streaming shows data easy to understand without the usual hassle.

  • Design: $4,673.91
  • Development: $6,197.69
  • Marketing: $1,211.99