Product Card DeckA draggable card deck you flick through one card at a time.

Cards & ModalsProduct showcaseE-commerceLookbook
Urban Canvas
Dreamer backpack

Dreamer backpack

Creator graffiti tee

Creator graffiti tee

Dreamer high-tops

Dreamer high-tops

grab the top card and flick it away

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/product-card-deck
2

For dark mode, add the dark class to your <html> element:

Optional
<html class="dark">

Install with AI Canvas MCP

With AI Canvas MCP, your AI knows every component we ship. Ask for “a navigation component from AI Canvas” inside Claude Code, Codex, or Cursor and it can suggest you a few options, then install the one you like. Less typing, lower token cost, modern way to build.

Get MCP

About Product Card Deck

Product Card Deck is a draggable stack of product cards you flick through one at a time, built for browsing a small catalogue the way you swipe a deck of cards. Grab the top card and it leans toward your drag like a real card being thrown, then spins off with momentum in whatever direction you flick it, while the card behind rises into its place and a fresh one slides in at the back so the deck never runs out. Each card pairs a full-bleed product image with a clean caption strip holding the name and a pill call-to-action button with hover and press states. Framer Motion drives the drag, tilt, and fly-off physics while Tailwind covers the surrounding chrome, and it is fully touch-friendly for a mobile-first shoppable gallery. Swap in your own images and labels to turn it into a lookbook, a featured-products carousel, or a swipe-to-shop experience.

Built with

MotionTailwind CSS

More like this