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.

Friendly people answer your questions quickly, by phone, chat or email. Track your progress in the app and see how far you have come.

2Link toggle

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

Nutrition plans fit your routine and the food you actually enjoy.

3Horizontal collapse

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

Pause or change your membership any time, with no long contracts.

4Multiple targets

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

Thousands of members already trust us, and we work hard to keep it that way.
Our team has done this many times, so you never have to guess.

5Read more

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

Our recovery spa has a sauna, cold plunge and massage rooms. Open 24 hours, so you can train whenever it suits your day.

We listen first, then build a plan around what you actually need. Pause or change your membership any time, with no long contracts. We measure success by how many members come back and tell their friends.

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-5351$669.46
Billed to Noah Moreau, Singapore. Due Nov 2, 2026.
#INV-6169$434.56
Billed to Mia Duarte, Denver. Due Nov 16, 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
46.5k
24% this week

11Open by default

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

Clear prices, honest advice and no surprises along the way. Small group classes mean your coach knows your name and your form.

12Rotating chevron

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

Nutrition plans fit your routine and the food you actually enjoy.

13Comments thread

Keep a feed short and let readers open the replies.

Our team has done this many times, so you never have to guess.

Theo Silva
Theo Silva Track your progress in the app and see how far you have come.
Freya Morgan
Freya Morgan More than sixty classes a week, from sunrise yoga to late-night spin.

14Release notes

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

Version 3.1 Stable
Jul 16, 2026
  • Community events
  • Modern equipment
  • Faster loading on slow connections

15Specification list

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

Weight
3.3 kg
Dimensions
40 x 32 x 6 cm
Warranty
1 years

16Expandable search bar

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

Sageo Studio

17Onboarding checklist

Each checklist step expands to explain what to do.

Start in minutes and get help from a real person whenever you need it.

Online coaching keeps you on track when you travel.

Open 24 hours, so you can train whenever it suits your day.

18Swap two panels

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

Read-only view: Community events keep you motivated, from fun runs to workshops.

19Grouped notifications

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

  • Modern equipment is cleaned, serviced and ready every day.
    • Thousands of members already trust us, and we work hard to keep it that way.
    • Certified coaches design every session around your level and your goals.

20Nested collapse

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

We listen first, then build a plan around what you actually need.

  • Design: $3,222.21
  • Development: $12,024.31
  • Marketing: $5,609.67