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

    992
  • Chat Messages

    Chat Messages

    340
  • Cinematic Logo Cloud

    Cinematic Logo Cloud

    164
  • Infinite Moving Cards

    Infinite Moving Cards

    163
  • Shooting Stars Grid

    Shooting Stars Grid

    159
  • Logo Clouds

    Logo Clouds

    114
  • Image Trail

    Image Trail

    94

More in Galleries

View all
  • Thumbnail image viewer

    Thumbnail image viewer

    77
  • Editorial Collage Hero

    Editorial Collage Hero

    475
  • Animated Gallery

    Animated Gallery

    1.5K
  • Image Gallery

    Image Gallery

    1.4K
  • Elastic Gallery

    Elastic Gallery

    1K
  • Hero Section 6

    Hero Section 6

    927
  • Gallery Animation

    Gallery Animation

    1.1K
  • Layout Grid

    Layout Grid

    886