Daiwiik Harihar

Magnetic Puzzle

Component 22

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

    978
  • Rolling List

    Rolling List

    934
  • Hero Shutter Text

    Hero Shutter Text

    906
  • Text Block Animation

    Text Block Animation

    867