Dhileep Kumar GM

Magnetic Dock

Component 158

About

A fluid, interactive icon dock that “magnetically” expands icons as the cursor approaches, built with React and Framer Motion for smooth, springy hover effects.

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

Code

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

Usage.tsx

import MagneticDock  from "@/components/ui/magnetic-dock";

export default function DemoOne() {
  return <MagneticDock  />;
}

Dependencies

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    1.9K
  • Woven Light Hero

    Woven Light Hero

    1.5K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    922
  • Mountain Scene

    Mountain Scene

    859
  • HolographicCard

    HolographicCard

    820
  • 3D Animation

    3D Animation

    765
  • Cybernetic Bento Grid

    Cybernetic Bento Grid

    556