WunderUI

Deck Shuffle

Cards

About

A stack of three cards: the front one lifts away and parks at the back while the others move up. Pauses on hover. CSS only. From WunderUI Motion, free, MIT.

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

Code

How Deck Shuffle is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Bell, FileText, Receipt } from "lucide-react";
import { DeckShuffle } from "@/components/ui/deck-shuffle";

export default function DeckShuffleDemo() {
  return (
    <div className="flex min-h-72 items-center justify-center p-8">
      <DeckShuffle
        cards={[
          {
            title: "Weekly digest",
            description: "14 updates from your team",
            icon: <Bell className="size-5 text-primary" />,
          },
          {
            title: "Release notes",
            description: "Version 2.4 is live",
            icon: <FileText className="size-5 text-primary" />,
          },
          {
            title: "Billing",
            description: "Your invoice is ready",
            icon: <Receipt className="size-5 text-primary" />,
          },
        ]}
      />
    </div>
  );
}

More by WunderUI

View all
  • Button

    Button

    1
  • Trend Chip

    Trend Chip

  • Pull to Refresh

    Pull to Refresh

  • Rating

    Rating

  • Holo Card

    Holo Card

  • Theme Split

    Theme Split

  • Logo Marquee

    Logo Marquee

  • Converge Spinner

    Converge Spinner

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    273
  • Statistics Card 7

    Statistics Card 7

    301
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    184
  • Stats cards with links

    Stats cards with links

    82
  • Weather Card

    Weather Card

    57
  • Card Studio

    Card Studio

    9