# Components Collapsible: Card Collapsible

A card that expands to reveal extra detail when clicked, keeping the summary visible. Use it on dashboards to tuck away long notes inside a tidy tile.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/collapsible/card-collapsible
- Collection: [Components](https://www.shadcn-ui-blocks.com/blocks/components), Free tier
- Group: [Collapsible](https://www.shadcn-ui-blocks.com/blocks/components/collapsible)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/components/collapsible/card-collapsible.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-collapsible-card-collapsible
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/components-collapsible-card-collapsible.json"`.

## Depends on

- npm packages: lucide-react, radix-ui
- shadcn/ui components: collapsible
- Installs to: `@/components/blocks/components/collapsible/card-collapsible`

## About this block

Card Collapsible is a single bordered card with a clickable header row. The
header shows a label on the left and a chevron icon on the right. Clicking
the header toggles the panel open or closed: the chevron swaps direction and
a body section slides in beneath a dividing line, showing a short paragraph
of detail text.

The label, body copy, and the number of cards on the page are all yours to
change. The toggle behavior is self-contained, so you can drop in any text
without adjusting the layout. If you need more than one expandable section,
the sibling blocks in this group handle stacked or grouped arrangements.

## When to use

Reach for this block when a single item needs a summary that readers can
expand on demand. On an online education platform it works well for a
course card that shows the title up front and lets learners reveal the
syllabus, prerequisites, or instructor notes without leaving the page. It
is a better fit than a full accordion when there is only one section to
expand, because the card framing gives it visual weight a plain disclosure
row would lack.

A natural flow around it on a Components page:

**Before**

- A [card](https://www.shadcn-ui-blocks.com/blocks/components/cards) to establish the tile pattern before
  adding interactivity
- A plain hero or introductory text to set the context for the content
  being revealed

**After**

- [Accordions](https://www.shadcn-ui-blocks.com/blocks/components/accordions) if the expanded content
  grows into several related sections that share the same toggle pattern
- [Tabs](https://www.shadcn-ui-blocks.com/blocks/components/tabs) when the detail splits into distinct
  categories a reader would want to switch between

## What you can customize

The block has one collapsible card with a header trigger and a hidden body.
A few ways to put it to work:

- **Course or module overview.** Put the lesson title in the header and
  place the learning objectives or duration in the body so students get
  detail only when they want it.
- **Product or item detail.** Use the header for a product name and the
  body for specifications, return policy, or availability notes that
  would crowd the main listing.
- **Support article summary.** Head the card with a question and hide the
  answer in the body to keep a help page tidy before a reader selects
  a topic.

> Tip: keep the body text to two or three sentences so the expanded card
> stays compact and does not push sibling content far down the page.

## More in Components Collapsible

- [Grouped Collapsible](https://www.shadcn-ui-blocks.com/blocks/components/collapsible/grouped-collapsible)
- [Icon Collapsible](https://www.shadcn-ui-blocks.com/blocks/components/collapsible/icon-collapsible)
- [Shadowed Collapsible](https://www.shadcn-ui-blocks.com/blocks/components/collapsible/shadowed-collapsible)
- [Side Bordered Collapsible](https://www.shadcn-ui-blocks.com/blocks/components/collapsible/side-bordered-collapsible)
- [Stepped Collapsible](https://www.shadcn-ui-blocks.com/blocks/components/collapsible/stepped-collapsible)
