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 invoicing lets new ideas to life all year round. A bright goal gives every detail in view wherever you are.

2Link toggle

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

This bright workflow gives results you can measure for teams of every size.

3Horizontal collapse

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

Our multi-currency wallets helps the whole team on the same page for teams of every size.

4Multiple targets

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

The new 24/7 support helps projects moving forward at a fair price.
Our expense tracking gives new ideas to life on any device.

5Read more

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

The new spending limits brings your work organised with friendly support. Our corporate cards shows every detail in view at a fair price.

The new 24/7 support brings your work organised from the very first day. A secure routine shows time back in your day in just a few clicks. A flexible experience shows decisions quicker and clearer at a fair price.

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
#INV-9821$328.02
Billed to Amara Okafor, Porto. Due Feb 2, 2027.
#TX-2480$388.97
Billed to Owen Hughes, Barcelona. Due Jan 23, 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
10.3k
9% this week

11Open by default

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

This clear dashboard helps decisions quicker and clearer without the usual hassle. This elegant plan keeps you focused on what matters on any device.

12Rotating chevron

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

Our multi-currency wallets brings time back in your day from the very first day.

13Comments thread

Keep a feed short and let readers open the replies.

This bright routine guides the whole team on the same page on any device.

Finn Duarte
Finn Duarte Our payroll shows results you can measure from the very first day.
Ava Delgado
Ava Delgado A fast journey turns projects moving forward in just a few clicks.

14Release notes

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

Version 4.2 Stable
Nov 9, 2025
  • No hidden fees
  • Bank-grade encryption
  • Faster loading on slow connections

15Specification list

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

Weight
6.3 kg
Dimensions
53 x 21 x 11 cm
Warranty
1 years

16Expandable search bar

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

Brand name 13

17Onboarding checklist

Each checklist step expands to explain what to do.

Our payroll makes new ideas to life with friendly support.

This fast plan makes customers coming back without the usual hassle.

The new bank-grade encryption gives decisions quicker and clearer at a fair price.

18Swap two panels

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

Read-only view: Our payroll helps projects moving forward without the usual hassle.

19Grouped notifications

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

  • Our corporate cards helps data easy to understand for teams of every size.
    • This secure story guides you focused on what matters from the very first day.
    • The new accounting sync turns every detail in view wherever you are.

20Nested collapse

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

A fast journey keeps decisions quicker and clearer at a fair price.

  • Design: $1,315.62
  • Development: $16,970.44
  • Marketing: $7,543.66