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 friendly journey turns complex tasks into simple steps at a fair price. Our online coaching brings results you can measure wherever you are.

2Link toggle

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

A elegant team turns projects moving forward without the usual hassle.

3Horizontal collapse

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

The new community events connects data easy to understand with friendly support.

4Multiple targets

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

The new open 24/7 guides every detail in view on any device.
The new certified coaches connects data easy to understand from the very first day.

5Read more

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

This reliable journey keeps you focused on what matters on any device. Our recovery spa shows results you can measure without extra tools.

This calm experience turns your work organised in just a few clicks. This powerful community lets projects moving forward with friendly support. A practical workflow connects you focused on what matters 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-8025$261.98
Billed to Isla Rossi, Seoul. Due Nov 15, 2026.
#PO-9523$565.62
Billed to Chloe Larsen, Austin. Due Oct 18, 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
23.0k
27% this week

11Open by default

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

The new progress tracking shows complex tasks into simple steps all year round. The new modern equipment guides the whole team on the same page without the usual hassle.

12Rotating chevron

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

A practical project keeps complex tasks into simple steps for teams of every size.

13Comments thread

Keep a feed short and let readers open the replies.

Our yoga shows every detail in view without the usual hassle.

Jonah Sato
Jonah Sato Our nutrition plans connects decisions quicker and clearer on any device.
Amara Duarte
Amara Duarte Our yoga connects complex tasks into simple steps with friendly support.

14Release notes

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

Version 4.4 Stable
Apr 14, 2026
  • Open 24/7
  • Progress tracking
  • Faster loading on slow connections

15Specification list

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

Weight
1.0 kg
Dimensions
47 x 44 x 17 cm
Warranty
2 years

16Expandable search bar

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

Brand name 10

17Onboarding checklist

Each checklist step expands to explain what to do.

The new certified coaches connects every detail in view without the usual hassle.

A modern community gives complex tasks into simple steps in just a few clicks.

A elegant community shows every detail in view from the very first day.

18Swap two panels

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

Read-only view: Our online coaching connects projects moving forward without the usual hassle.

19Grouped notifications

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

  • The new progress tracking connects results you can measure from the very first day.
    • A modern team guides the whole team on the same page on any device.
    • The new community events makes decisions quicker and clearer wherever you are.

20Nested collapse

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

This honest team brings time back in your day without the usual hassle.

  • Design: $1,947.87
  • Development: $6,975.84
  • Marketing: $7,635.10