KokonutUI Logo

CD-02CardsUpdated, October 14, 2026

Throw Deck

A pile of image cards you drag, flick off the top and send under the deck, with arrow keys and a details view.

Install with
lucide-react, motion

PROOnboarding Checklist and more like it are in Kokonut UI Pro

Installation

Throw Deck is a free, open-source React component in the Kokonut UI Cards collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/card-stack.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/card-stack

Usage

import CardStack from "@/components/kokonutui/card-stack";

export default function Example() {
  return <CardStack />;
}

Dependencies

Built with React, Tailwind CSS, lucide-react and motion.

On this page

No Headings