Daiwiik Harihar

Magnetic Puzzle

Component 130

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
  • Perspective Tunnel Hero

    Perspective Tunnel Hero

    2.4K
  • Spatial Product Showcase

    Spatial Product Showcase

    2.4K
  • Constellation Grid

    Constellation Grid

    1.2K
  • Focus Rail

    Focus Rail

    1.1K
  • Elastic Gallery

    Elastic Gallery

    1.1K
  • Rolling List

    Rolling List

    955
  • Hero Shutter Text

    Hero Shutter Text

    953
  • Text Block Animation

    Text Block Animation

    924

Explore more

Part of Atmos — browse the full library on 21st.dev.