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 specialists take time to listen and explain every step of your treatment. Friendly reminders make sure you never miss a check-up or a dose.

2Link toggle

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

Friendly people answer your questions quickly, by phone, chat or email.

3Horizontal collapse

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

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

4Multiple targets

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

Book online in two minutes and see a doctor as soon as today.
Family plans cover check-ups and vaccinations for everyone under one roof.

5Read more

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

Thousands of patients already trust us, and we work hard to keep it that way. We listen first, then build a plan around what you actually need.

Same-day appointments are available for urgent needs on weekdays. Children are welcome, and our paediatric team knows how to make them smile. Same-day appointments are available for urgent needs on weekdays.

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-3414$151.33
Billed to Arjun Patel, Austin. Due Feb 8, 2027.
#TX-2856$552.62
Billed to Omar Moreau, Barcelona. Due Nov 20, 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
57.1k
26% this week

11Open by default

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

Friendly reminders make sure you never miss a check-up or a dose. Our team has done this many times, so you never have to guess.

12Rotating chevron

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

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

13Comments thread

Keep a feed short and let readers open the replies.

Modern equipment means faster diagnoses and more comfortable treatment.

Theo Whitaker
Theo Whitaker Video consultations let you speak with a doctor from the comfort of home.
Kenji Larsen
Kenji Larsen Friendly people answer your questions quickly, by phone, chat or email.

14Release notes

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

Version 3.6 Stable
Jun 9, 2026
  • Insurance friendly
  • Certified specialists
  • Faster loading on slow connections

15Specification list

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

Weight
2.1 kg
Dimensions
39 x 21 x 12 cm
Warranty
2 years

16Expandable search bar

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

Umbra

17Onboarding checklist

Each checklist step expands to explain what to do.

Every detail is handled by people who care about getting it right.

Family plans cover check-ups and vaccinations for everyone under one roof.

Thousands of patients already trust us, and we work hard to keep it that way.

18Swap two panels

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

Read-only view: We keep things simple, so you can focus on what matters to you.

19Grouped notifications

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

  • Our clinic is fully accessible, with free parking right outside.
    • Our specialists take time to listen and explain every step of your treatment.
    • We measure success by how many patients come back and tell their friends.

20Nested collapse

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

Book online in two minutes and see a doctor as soon as today.

  • Design: $4,281.94
  • Development: $18,039.46
  • Marketing: $7,851.00