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.

More than eighty speakers share what they have learned the hard way. Early bird tickets save you up to forty percent until the end of the month.

2Link toggle

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

The venue is a short walk from the station and fully accessible.

3Horizontal collapse

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

Three days of keynotes, hands-on workshops and evening meetups.

4Multiple targets

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

Thousands of attendees already trust us, and we work hard to keep it that way.
We measure success by how many attendees come back and tell their friends.

5Read more

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

Virtual passes let you join the main stage live from anywhere. Friendly people answer your questions quickly, by phone, chat or email.

Every session is recorded, so you can catch up on anything you missed. Group tickets include a private meeting room for your team. Clear prices, honest advice and no surprises along the way.

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
#PO-9307$494.55
Billed to Ella Quinn, Dublin. Due Feb 13, 2027.
#TX-4409$690.81
Billed to Hana Ashford, Dublin. Due Jan 19, 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
17.4k
26% this week

11Open by default

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

Friendly people answer your questions quickly, by phone, chat or email. Every session is recorded, so you can catch up on anything you missed.

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.

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

Aria Tanaka
Aria Tanaka More than eighty speakers share what they have learned the hard way.
Kenji Delgado
Kenji Delgado Our team has done this many times, so you never have to guess.

14Release notes

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

Version 6.8 Stable
Aug 13, 2026
  • Mobile agenda
  • Recorded sessions
  • Faster loading on slow connections

15Specification list

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

Weight
5.9 kg
Dimensions
60 x 55 x 13 cm
Warranty
1 years

16Expandable search bar

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

Xenoara

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.

Virtual passes let you join the main stage live from anywhere.

The venue is a short walk from the station and fully accessible.

18Swap two panels

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

Read-only view: Sponsors meet decision-makers in a relaxed, friendly setting.

19Grouped notifications

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

  • Our evening party is the best place to turn talks into friendships.
    • We measure success by how many attendees come back and tell their friends.
    • Early bird tickets save you up to forty percent until the end of the month.

20Nested collapse

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

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

  • Design: $4,383.08
  • Development: $11,006.76
  • Marketing: $7,159.68