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.

Start in minutes and get help from a real person whenever you need it. Thousands of patients already trust us, and we work hard to keep it that way.

2Link toggle

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

Same-day appointments are available for urgent needs on weekdays.

3Horizontal collapse

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

Video consultations let you speak with a doctor from the comfort of home.

4Multiple targets

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

Our team has done this many times, so you never have to guess.
Book online in two minutes and see a doctor as soon as today.

5Read more

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

We work with most insurance providers and explain any costs upfront. We measure success by how many patients come back and tell their friends.

Family plans cover check-ups and vaccinations for everyone under one roof. Our team has done this many times, so you never have to guess. Video consultations let you speak with a doctor from the comfort of home.

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-8212$664.03
Billed to Ava Novak, Denver. Due Nov 12, 2026.
#ORD-6010$690.69
Billed to Aria Whitaker, Porto. Due Nov 10, 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
41.3k
8% this week

11Open by default

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

Start in minutes and get help from a real person whenever you need it. Your records are private, secure and always available when you need them.

12Rotating chevron

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

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

13Comments thread

Keep a feed short and let readers open the replies.

Same-day appointments are available for urgent needs on weekdays.

Arjun Moreau
Arjun Moreau Our clinic is fully accessible, with free parking right outside.
Tariq Varga
Tariq Varga We work with most insurance providers and explain any costs upfront.

14Release notes

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

Version 2.5 Stable
May 9, 2026
  • Online results
  • Online results
  • Faster loading on slow connections

15Specification list

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

Weight
8.8 kg
Dimensions
52 x 23 x 18 cm
Warranty
2 years

16Expandable search bar

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

Bloom

17Onboarding checklist

Each checklist step expands to explain what to do.

Friendly reminders make sure you never miss a check-up or a dose.

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

We measure success by how many patients come back and tell their friends.

18Swap two panels

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

Read-only view: Modern equipment means faster diagnoses and more comfortable treatment.

19Grouped notifications

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

  • 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.
    • Book online in two minutes and see a doctor as soon as today.

20Nested collapse

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

We keep things simple, so you can focus on what matters to you.

  • Design: $4,775.02
  • Development: $8,898.40
  • Marketing: $7,939.33