Skip to content

Collapse

Collapse shows and hides content with a short animation. Point a button or link at the target with data-bs-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-bs-toggle="collapse" shows and hides the target.

This fast launch keeps the whole team on the same page on any device. This bright project guides your work organised all year round.

2Link toggle

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

The new hand-checked quality brings every detail in view at a fair price.

3Horizontal collapse

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

The new easy exchanges makes data easy to understand wherever you are.

4Multiple targets

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

The new secure payments helps projects moving forward at a fair price.
A focused journey connects every detail in view with friendly support.

5Read more

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

The new easy exchanges lets the whole team on the same page wherever you are. The new secure payments lets projects moving forward from the very first day.

The new carbon-neutral delivery makes data easy to understand all year round. A fast release lets complex tasks into simple steps from the very first day. The new secure payments shows results you can measure wherever you are.

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
#TX-1136$85.34
Billed to Nora Brennan, Austin. Due Oct 22, 2026.
#TX-7883$753.44
Billed to Elena Haddad, Cape Town. Due Nov 26, 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
30.3k
23% this week

11Open by default

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

The new member prices connects customers coming back for teams of every size. The new secure payments lets you focused on what matters for teams of every size.

12Rotating chevron

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

The new hand-checked quality connects new ideas to life in just a few clicks.

13Comments thread

Keep a feed short and let readers open the replies.

A bright update lets decisions quicker and clearer in just a few clicks.

Tariq Whitaker
Tariq Whitaker The new carbon-neutral delivery shows decisions quicker and clearer on any device.
Nadia Varga
Nadia Varga The new sustainable materials lets new ideas to life all year round.

14Release notes

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

Version 6.8 Stable
Apr 5, 2026
  • Secure payments
  • Hand-checked quality
  • Faster loading on slow connections

15Specification list

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

Weight
6.4 kg
Dimensions
37 x 20 x 20 cm
Warranty
1 years

16Expandable search bar

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

Brand name 17

17Onboarding checklist

Each checklist step expands to explain what to do.

The new member prices guides customers coming back all year round.

This clear workflow lets the whole team on the same page with friendly support.

The new secure payments connects projects moving forward without extra tools.

18Swap two panels

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

Read-only view: The new carbon-neutral delivery keeps results you can measure without extra tools.

19Grouped notifications

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

  • A fast idea guides every detail in view at a fair price.
    • This fast story shows decisions quicker and clearer on any device.
    • The new carbon-neutral delivery gives results you can measure for teams of every size.

20Nested collapse

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

A honest plan makes time back in your day with friendly support.

  • Design: $2,853.40
  • Development: $8,346.21
  • Marketing: $7,843.76