Daiwiik Harihar

Magnetic Puzzle

Component 4

About

Interactive magnetic puzzle with smooth physics that snaps scattered fragments together on hover

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

Code

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

Usage.tsx

import MagneticPuzzle from "@/components/ui/magnetic-puzzle";

export default function MagneticPuzzleDemo() {
  return <MagneticPuzzle />;
}

Dependencies

More by Daiwiik Harihar

View all
  • Spatial Product Showcase

    Spatial Product Showcase

    2.3K
  • Perspective Tunnel Hero

    Perspective Tunnel Hero

    1.3K
  • Constellation Grid

    Constellation Grid

    1.1K
  • Focus Rail

    Focus Rail

    1.1K
  • Elastic Gallery

    Elastic Gallery

    970
  • Rolling List

    Rolling List

    932
  • Hero Shutter Text

    Hero Shutter Text

    905
  • Text Block Animation

    Text Block Animation

    866