Skip to content
Opal

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.

Virtual passes let you join the main stage live from anywhere. The networking app helps you meet the right people before you arrive.

2Link toggle

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

Clear prices, honest advice and no surprises along the way.

3Horizontal collapse

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

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

4Multiple targets

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

The venue is a short walk from the station and fully accessible.
Three days of keynotes, hands-on workshops and evening meetups.

5Read more

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

Our evening party is the best place to turn talks into friendships. Thousands of attendees already trust us, and we work hard to keep it that way.

Early bird tickets save you up to forty percent until the end of the month. More than eighty speakers share what they have learned the hard way. Friendly people answer your questions quickly, by phone, chat or email.

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-8416$210.52
Billed to Isla Brennan, Seoul. Due Jan 25, 2027.
#PO-4892$118.04
Billed to Omar Lindqvist, Lisbon. Due Jan 20, 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
30.2k
7% this week

11Open by default

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

We measure success by how many attendees come back and tell their friends. The networking app helps you meet the right people before you arrive.

12Rotating chevron

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

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

13Comments thread

Keep a feed short and let readers open the replies.

Group tickets include a private meeting room for your team.

Priya Harlow
Priya Harlow Workshops are limited to thirty seats, so everyone gets hands-on time.
Ruby Patel
Ruby Patel Every attendee receives a certificate of participation.

14Release notes

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

Version 2.4 Stable
Feb 12, 2026
  • Networking lounges
  • Recorded sessions
  • Faster loading on slow connections

15Specification list

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

Weight
7.5 kg
Dimensions
31 x 56 x 17 cm
Warranty
2 years

16Expandable search bar

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

Opal

17Onboarding checklist

Each checklist step expands to explain what to do.

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

Early bird tickets save you up to forty percent until the end of the month.

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

18Swap two panels

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

Read-only view: Every detail is handled by people who care about getting it right.

19Grouped notifications

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

  • Three days of keynotes, hands-on workshops and evening meetups.
    • We listen first, then build a plan around what you actually need.
    • Clear prices, honest advice and no surprises along the way.

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: $2,686.27
  • Development: $10,270.49
  • Marketing: $1,665.13