klyv-ui

Solitaire

Component

About

A fully playable Klondike solitaire game with drag, click and keyboard controls, undo, scoring and a seedable shuffle.

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

Code

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

Usage.tsx

import { Solitaire } from "@/components/ui/solitaire";

export default function SolitaireDemo() {
  return (
    <div className="flex w-full items-center justify-center p-6">
      <Solitaire />
    </div>
  );
}

More by klyv-ui

View all
  • Gantt Chart

    Gantt Chart

    97
  • Shader Canvas

    Shader Canvas

    63
  • Klyv Animated Beam

    Klyv Animated Beam

    62
  • Pareto Chart

    Pareto Chart

    58
  • Fluid Canvas

    Fluid Canvas

    42
  • Sunburst Chart

    Sunburst Chart

    34
  • Morphing Text

    Morphing Text

    30
  • Gooey Loader

    Gooey Loader

    29