# Components Card: Stacked Card

A card layered over offset copies to suggest a deck behind it. Use it for collections, albums, or grouped items where many sit under one cover here.

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

## Install

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

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-cards-stacked-card.json"`.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: button, card
- Installs to: `@/components/blocks/components/cards/stacked-card`

## About this block

Stacked Card is a single card that appears to sit on top of a small
deck. Two offset copies are pinned absolutely behind the main card,
each shifted down and to the right by one pixel step, so three layers
are visible at once. The front card holds a header with a title and
description, a body paragraph, and a footer row with two buttons:
Cancel on the left and Deploy on the right.

The content inside all three regions is independent. You can replace
the title, description, and body copy without adjusting the visual
depth effect. The footer buttons are straightforward to swap for other
actions, and the offset shadow cards require no content of their own,
so adding or removing text does not break the layered look.

## When to use

This layout fits a project management workspace wherever a single
action or resource needs to feel like one item drawn from a larger
collection. It is a good fit for a "create new project" prompt,
a template picker, or a card representing a workspace that contains
many items underneath. The stacked silhouette communicates depth
without needing a grid, which makes it more compact than showing
multiple full cards side by side.

A natural flow around it on a Components page:

**Before**

- A [Badge](https://www.shadcn-ui-blocks.com/blocks/components/badges) to label the section or mark
  the current project tier
- A [Corner Ribbon Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/corner-ribbon-card)
  if you need to flag a specific template before the user creates one

**After**

- A [Progress Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/progress-card) to show
  how far along the newly created project is
- An [Alert](https://www.shadcn-ui-blocks.com/blocks/components/alerts) to confirm the action or
  surface any setup warnings after the user clicks Deploy

## What you can display

The stacked frame works best when the card represents something that
contains or groups other items. A few ways to use it:

- **Project or workspace creation.** Lead with the action title and
  a one line description so the user knows exactly what they are
  starting before they commit.
- **Template selection.** Use the body text to summarise what comes
  included, then let the footer buttons confirm or dismiss the choice.
- **Collection cover.** Present a named group of resources, such as
  a saved report set or a file bundle, where the depth suggests
  multiple items exist behind the cover.

> Tip: keep the body text to two or three short sentences so the card
> stays compact and the stacked edges behind it remain visible.

## More in Components Cards

- [Border Accent Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/border-accent-card)
- [Border Animation Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/border-animation-card)
- [Border Gradient Animation Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/border-gradient-animation-card)
- [Border Highlight Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/border-highlight-card)
- [Corner Ribbon Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/corner-ribbon-card)
- [Cutout Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/cutout-border-card)
- [Dashed Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/dashed-border-card)
- [Double Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/double-border-card)
- [Expandable Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/expandable-card)
- [Gradient Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/gradient-border-card)
- [Hover Effect Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/hover-effect-card)
- [Hover Reveal Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/hover-reveal-card)
- [Icon Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/icon-card)
- [Magnetic Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/magnetic-card)
- [Neon Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/neon-border-card)
- [Perspective Hover Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/perspective-hover-card)
- [Progress Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/progress-card)
- [Pulse Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/pulse-border-card)
- [Shimmer Effect Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/shimmer-effect-card)
- [Status Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/status-card)
- [Tilt Effect Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/tilt-effect-card)
