
N° 0965 · cursor
Custom Cursor with Magnetic Snap is a custom cursor effect. It responds to pointer and hover. Palettes: Paper, Mint on ink, Moss, Blush and Orchid.
At rest the cursor is a 24 px rounded square lerping at 0.2. On entering a `[data-snap]` target the script reads its rect and writes width, height, radius and centre as the lerp goal, with the square moving behind the button (`z-index` below) as a fill highlight; while captured, the pointer offset from the target centre is applied at 10 % so the highlight leans with the hand. Leaving restores the 24 px goal.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.

N° 0965 · cursor

N° 0806 · cursor

N° 0805 · cursor

N° 0804 · cursor

N° 0803 · cursor

N° 0802 · cursor

N° 0407 · cursor

N° 0411 · cursor

N° 0804 · cursor

N° 0938 · Satellite imagery API

N° 0829 · loader

N° 0802 · cursor

N° 0799 · toggle

N° 0669 · exploded-view choreography with helical thread kinematics

N° 0638 · developer API

N° 0584 · coming-soon