Imported library

← Imported library
SubscriptionMIT licence

MagneticCursor - A custom cursor dot that rAF-lerps toward the pointer and snaps toward real focusable magnetic targets on hover, gated to fine pointers and disabled (native cur

cursor

Cursor from MustBeSimo/web-design-studio.

From prompt to live site

  1. 01

    Copy the code

    Grab every file as one text, each carrying its licence notice.

  2. 02

    Paste into your AI

    Drop it into Claude, Cursor or v0 — or straight into your own project.

  3. 03

    Launch it live

    Adapt the copy, wire your data, and ship — with the notice kept alongside.

Source and licence

Source: MustBeSimo/web-design-studio@c8b99b171c7c

Author: 2026 Simone Leonelli

Entry: components/mode-a/magnetic-cursor.html

  • Mode B (.tsx) imports gsap, gsap/ScrollTrigger, @gsap/react, react
  • Mode B imports @/lib/cinematic from the Next.js template (included)
MIT License

Copyright (c) 2026 Simone Leonelli

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Files (15)
  • components/mode-a/magnetic-cursor.html (7,308 bytes)
  • components/mode-b/magnetic-cursor.tsx (2,245 bytes)
  • templates/nextjs/lib/cinematic/assets.tsx (4,295 bytes)
  • templates/nextjs/lib/cinematic/choreography.mjs (2,524 bytes)
  • templates/nextjs/lib/cinematic/cinematic.d.mts (1,390 bytes)
  • templates/nextjs/lib/cinematic/cinematic.mjs (8,372 bytes)
  • templates/nextjs/lib/cinematic/core.mjs (2,800 bytes)
  • templates/nextjs/lib/cinematic/effects.d.mts (699 bytes)
  • templates/nextjs/lib/cinematic/effects.mjs (9,331 bytes)
  • templates/nextjs/lib/cinematic/index.mjs (265 bytes)
  • templates/nextjs/lib/cinematic/react.tsx (6,989 bytes)
  • templates/nextjs/lib/cinematic/shaders.mjs (3,594 bytes)
  • templates/nextjs/lib/cinematic/three.tsx (8,888 bytes)
  • templates/nextjs/lib/cinematic/webgl.mjs (9,872 bytes)
  • templates/nextjs/lib/cinematic/webgpu.tsx (4,399 bytes)

Want the whole library?

Every item's prompt, code and instructions, with a CreativePower subscription.

See plans

More cursor templates