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.

Earn a certificate at the end of each course and share it with employers. 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.

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

3Horizontal collapse

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

Learn on your schedule, with lessons that fit into a lunch break.

4Multiple targets

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

The mobile app downloads lessons, so you can learn on the train.
Lifetime access means you can revisit lessons whenever you need a refresher.

5Read more

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

Clear prices, honest advice and no surprises along the way. Every detail is handled by people who care about getting it right.

Every course is built around hands-on projects you can add to your portfolio. Lifetime access means you can revisit lessons whenever you need a refresher. 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
#PO-5253$432.04
Billed to Mason Delgado, Montreal. Due Nov 16, 2026.
#ORD-1235$540.08
Billed to Sofia Carter, Kyoto. Due Feb 7, 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
86.4k
3% this week

11Open by default

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

Career coaches help with your CV, portfolio and interview practice. The mobile app downloads lessons, so you can learn on the train.

12Rotating chevron

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

Learn on your schedule, with lessons that fit into a lunch break.

13Comments thread

Keep a feed short and let readers open the replies.

Short quizzes after each lesson help new knowledge stick.

Noah Larsen
Noah Larsen Clear prices, honest advice and no surprises along the way.
Diego Sato
Diego Sato Guided learning paths take you from beginner to job-ready step by step.

14Release notes

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

Version 3.1 Stable
Nov 13, 2025
  • Hands-on projects
  • Expert mentors
  • Faster loading on slow connections

15Specification list

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

Weight
7.0 kg
Dimensions
35 x 34 x 13 cm
Warranty
2 years

16Expandable search bar

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

Hiveia

17Onboarding checklist

Each checklist step expands to explain what to do.

Mentors review your projects and give feedback within two days.

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

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

18Swap two panels

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

Read-only view: Earn a certificate at the end of each course and share it with employers.

19Grouped notifications

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

  • Study groups and a friendly forum keep you motivated along the way.
    • Every detail is handled by people who care about getting it right.
    • We keep things simple, so you can focus on what matters to you.

20Nested collapse

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

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

  • Design: $2,617.85
  • Development: $8,207.20
  • Marketing: $7,089.21