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
  • 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

  • Button

    Button

More in Cards

View all
  • Statistics Card 10

    Statistics Card 10

    264
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 2

    Statistics Card 2

    264
  • Stats cards with links

    Stats cards with links

    33
  • Card

    Card

    70
  • Card

    Card

    17
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3