# Card Stack

> A swipeable card stack carousel for product showcases and feature tours; drag the top card away or click it to open a detail modal.

A React component for shadcn/ui and Tailwind CSS, from ssych ui (https://ssych.com). Free, MIT licensed, the source lands in your repo.

## Install

```bash
npx shadcn@latest add @ssych/card-stack
```

npm dependencies: clsx, lucide-react, motion, tailwind-merge

## Props

`<CardStack />`

- `cards`: `CardData[]`

## Where it belongs

- Cards: React card components: a draggable card stack, responsive card grids, list views, a bento gallery and news cards. (https://ssych.com/library/s/cards)

## Related

- Card Grid: https://ssych.com/library/card-grid.md
- Card List: https://ssych.com/library/card-list.md
- Bento Gallery: https://ssych.com/library/bento-gallery.md
- News Card: https://ssych.com/library/news-card.md
- Project Index: https://ssych.com/library/project-index.md
- Index Card: https://ssych.com/library/index-card.md

## Links

- Live preview and code: https://ssych.com/library/card-stack
- Source: https://github.com/savvasicevs/ssych-ui
- All components: https://ssych.com/llms-full.txt
