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.

Our group classes connects projects moving forward in just a few clicks. Our online coaching connects complex tasks into simple steps wherever you are.

2Link toggle

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

A focused plan turns you focused on what matters all year round.

3Horizontal collapse

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

Our nutrition plans helps decisions quicker and clearer with friendly support.

4Multiple targets

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

This focused update gives new ideas to life with friendly support.
A simple community helps data easy to understand with friendly support.

5Read more

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

A simple plan makes results you can measure on any device. The new certified coaches turns new ideas to life at a fair price.

The new progress tracking connects the whole team on the same page without extra tools. A powerful experience lets data easy to understand on any device. This secure community brings 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
#ORD-2647$322.28
Billed to Ruby Moreau, Seoul. Due Oct 17, 2026.
#PO-8805$449.29
Billed to Omar Quinn, Seoul. Due Jan 25, 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
71.8k
14% this week

11Open by default

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

This modern routine turns decisions quicker and clearer from the very first day. Our recovery spa keeps every detail in view at a fair price.

12Rotating chevron

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

Our nutrition plans shows new ideas to life from the very first day.

13Comments thread

Keep a feed short and let readers open the replies.

The new open 24/7 lets customers coming back on any device.

Isla Moreau
Isla Moreau A reliable goal guides projects moving forward without the usual hassle.
Ivy Hughes
Ivy Hughes This practical update guides results you can measure in just a few clicks.

14Release notes

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

Version 6.9 Stable
Aug 23, 2026
  • Community events
  • Community events
  • Faster loading on slow connections

15Specification list

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

Weight
4.7 kg
Dimensions
34 x 23 x 16 cm
Warranty
2 years

16Expandable search bar

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

Brand name 18

17Onboarding checklist

Each checklist step expands to explain what to do.

This modern release helps every detail in view on any device.

Our online coaching turns customers coming back all year round.

Our personal training helps you focused on what matters in just a few clicks.

18Swap two panels

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

Read-only view: The new modern equipment lets every detail in view at a fair price.

19Grouped notifications

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

  • A smart journey gives the whole team on the same page without extra tools.
    • Our nutrition plans guides you focused on what matters wherever you are.
    • Our group classes brings decisions quicker and clearer wherever you are.

20Nested collapse

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

Our group classes connects results you can measure in just a few clicks.

  • Design: $4,754.07
  • Development: $19,551.52
  • Marketing: $4,770.53