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.

We handle the paperwork, so you can focus on planning the move. Most of our homes sell within six weeks, often above the asking price.

2Link toggle

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

Our local agents know every street, school and coffee shop in the area.

3Horizontal collapse

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

Honest advice comes first, even when it means waiting for the right home.

4Multiple targets

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

Our rental team manages repairs, payments and tenants for landlords.
Price alerts tell you the moment a home that fits your search comes on the market.

5Read more

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

Neighbourhood guides cover transport, schools and things to do. Clear prices, honest advice and no surprises along the way.

We keep things simple, so you can focus on what matters to you. We measure success by how many buyers come back and tell their friends. Honest advice comes first, even when it means waiting for the right 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
#TX-6831$192.27
Billed to Samir Lindqvist, Valencia. Due Nov 30, 2026.
#ORD-5188$439.42
Billed to Aria Delgado, Kyoto. Due Jan 12, 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
18.8k
4% this week

11Open by default

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

Most of our homes sell within six weeks, often above the asking price. We handle the paperwork, so you can focus on planning the move.

12Rotating chevron

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

Sellers get professional photos, floor plans and a marketing plan included.

13Comments thread

Keep a feed short and let readers open the replies.

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

Noah Whitaker
Noah Whitaker We listen first, then build a plan around what you actually need.
Ella Ortega
Ella Ortega Our rental team manages repairs, payments and tenants for landlords.

14Release notes

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

Version 4.0 Stable
Feb 17, 2026
  • Expert agents
  • Fast paperwork
  • Faster loading on slow connections

15Specification list

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

Weight
2.3 kg
Dimensions
32 x 38 x 10 cm
Warranty
1 years

16Expandable search bar

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

Miraly

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.

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

Our local agents know every street, school and coffee shop in the area.

18Swap two panels

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

Read-only view: Price alerts tell you the moment a home that fits your search comes on the market.

19Grouped notifications

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

  • Mortgage advisors help you understand what you can afford before you start.
    • Neighbourhood guides cover transport, schools and things to do.
    • Get a free, no-obligation valuation of your home within 48 hours.

20Nested collapse

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

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

  • Design: $4,090.45
  • Development: $9,731.91
  • Marketing: $5,403.29