timmikeladze

Puzzle Cube

Component 7

About

An interactive SVG Rubik's-style twisty cube you can drag to turn layers, scramble, and auto-solve, with keyboard controls and multiple paint variants.

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

Code

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

Usage.tsx

import PuzzleCube from "@/components/ui/puzzle-cube";

export default function PuzzleCubeDemo() {
  return (
    <div className="flex min-h-[28rem] w-full items-center justify-center p-6">
      <PuzzleCube
        size={320}
        order={3}
        view="iso"
        variant="solid"
        behavior="solve"
        interactive
      />
    </div>
  );
}

More by timmikeladze

View all
  • Debris Field

    Debris Field

    6
  • Pumpjack

    Pumpjack

    3
  • Wellhead Tree

    Wellhead Tree

    1
  • Robot Arm

    Robot Arm

    1
  • Robot Stage

    Robot Stage

  • Airliner

    Airliner

  • Rod Pump

    Rod Pump

  • Construct Ring

    Construct Ring