Skip to content
Lumen Co

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.

Monthly gifts let us plan ahead and respond quickly when disaster strikes. We keep things simple, so you can focus on what matters to you.

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.

You receive photos and updates showing exactly what your donation achieved.

4Multiple targets

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

Clear prices, honest advice and no surprises along the way.
Our annual report is independently audited and published in full.

5Read more

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

We measure success by how many donors come back and tell their friends. Ninety cents of every dollar goes directly to the projects you support.

We have helped more than two hundred thousand people since we started. We keep things simple, so you can focus on what matters to you. Every donation is tax-deductible, and receipts arrive by email instantly.

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-1257$353.36
Billed to Liam Kowalski, Porto. Due Nov 20, 2026.
#PO-3241$376.27
Billed to Maya Sato, Porto. Due Feb 1, 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
12.2k
18% this week

11Open by default

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

We measure success by how many donors come back and tell their friends. Monthly gifts let us plan ahead and respond quickly when disaster strikes.

12Rotating chevron

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

Leave a gift in your will and help future generations.

13Comments thread

Keep a feed short and let readers open the replies.

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

Lea Duarte
Lea Duarte Our annual report is independently audited and published in full.
Lucas Harlow
Lucas Harlow A school kit costs less than a cinema ticket and lasts a whole year.

14Release notes

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

Version 2.8 Stable
Sep 26, 2026
  • Impact tracking
  • Volunteer network
  • Faster loading on slow connections

15Specification list

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

Weight
9.1 kg
Dimensions
46 x 49 x 15 cm
Warranty
2 years

16Expandable search bar

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

Lumen Co

17Onboarding checklist

Each checklist step expands to explain what to do.

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

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

Volunteers give their time in schools, shelters and food banks every week.

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.

  • Friendly people answer your questions quickly, by phone, chat or email.
    • You receive photos and updates showing exactly what your donation achieved.
    • Clear prices, honest advice and no surprises along the way.

20Nested collapse

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

We have helped more than two hundred thousand people since we started.

  • Design: $1,715.03
  • Development: $16,482.47
  • Marketing: $2,641.43