NexusUI

Draggable Card Stack

Galleries

About

A shuffled deck of portrait cards you can drag or fling to send the top card to the back, with keyboard shortcuts, hover overlay captions, image/video support, and auto-play.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Draggable Card Stack to your project and fits it to your theme.

Code

How Draggable Card Stack is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { DraggableCardStack } from "@/components/ui/draggable-card-stack";

export default function DraggableCardStackDemo() {
  return (
    <div className="w-full h-screen">
      <DraggableCardStack />
    </div>
  );
}

Dependencies

More by NexusUI

View all
  • Circular Carousel

    Circular Carousel

    1.3K
  • Images Badge

    Images Badge

    1K
  • Chat Messages

    Chat Messages

    374
  • Infinite Moving Cards

    Infinite Moving Cards

    188
  • Cinematic Logo Cloud

    Cinematic Logo Cloud

    179
  • Aquarium Prompt

    Aquarium Prompt

    168
  • Shooting Stars Grid

    Shooting Stars Grid

    162
  • Pixel Atlas

    Pixel Atlas

    133

More in Galleries

View all
  • Photo Deck

    Photo Deck

    49
  • Cylinder Tunnel Gallery

    Cylinder Tunnel Gallery

    7
  • Scattered About

    Scattered About

    54
  • Animated Gallery

    Animated Gallery

    1.6K
  • Phantom Infinite Gallery

    Phantom Infinite Gallery

    58
  • Gallery Component

    Gallery Component

    23
  • Image Gallery

    Image Gallery

    131
  • Hero Section 6

    Hero Section 6

    968