Skip to content
SloplessTry the picker

Signature look · cursor

Magnetic buttons

Primary buttons and key links pull gently towards the pointer when it comes close, then spring back; the button label moves slightly more than the button.

Id
magnetic-cursor
Cost
about 28 KB of JavaScript (gzipped), counted against the design's performance budget
Stacks
Next.js, Astro, SvelteKit, Plain HTML
Motion
Respect prefers-reduced-motion with a static fallback (shown below)

What the agent must do

  • Apply the magnetic effect only to primary CTAs and nav links marked with a data-magnetic attribute, never to body links or form inputs.
  • Use gsap.quickTo for x/y with a strength of 0.15–0.3 and a 0.4–0.6 s ease-out; translate only (scale under 1.03), and return to rest on pointerleave.
  • Enable only when (hover: hover) and (pointer: fine) match and prefers-reduced-motion is no-preference; touch and keyboard users get the static button.
  • Keep the visible focus style unchanged and the hit area at the button's resting position.
  • Load GSAP after first paint; reuse it if another look already ships it.

Required skills (the agent asks before installing, per project)

gsap-core
Official GSAP core API: tweens, easing, stagger, matchMedia for prefers-reduced-motion. Source: greensock/gsap-skills, reviewed 2026-10-24 at 96c4b013173f.
npx skills add greensock/gsap-skills#96c4b013173fa9b01c059b036abc4d266a58c476 --skill gsap-core
cinematic-gsap-lenis-motion-system
GSAP ScrollTrigger + Lenis smooth scroll, parallax layers, pinned sections, magnetic hover and custom cursor. Source: MengTo/Skills, reviewed 2026-10-24 at 1ef3e3e8dd37.
npx skills add MengTo/Skills#1ef3e3e8dd37a6bed5e84db238f4b11cba896a36 --skill cinematic-gsap-lenis-motion-system

Running demo, in Bauhaus

The preview renderer's stand-in for this look on the hero of a Bauhaus design. It shows where the look lives and how much of the screen it takes; the real effect is built with the skills above.

Northfold
  • About
  • Contact

Brand & product studio

We make complicated companies simple to choose

Northfold is a 14-person studio helping manufacturers, labs and B2B teams explain what they do — and look like they mean it.

Start a projectRead case studies
Desktop
Northfold
  • About
  • Contact

Brand & product studio

We make complicated companies simple to choose

Northfold is a 14-person studio helping manufacturers, labs and B2B teams explain what they do — and look like they mean it.

Start a projectRead case studies
Phone

Reduced-motion fallback

What visitors with prefers-reduced-motion: reduce must get: the same layout, no movement.

Northfold
  • About
  • Contact

Brand & product studio

We make complicated companies simple to choose

Northfold is a 14-person studio helping manufacturers, labs and B2B teams explain what they do — and look like they mean it.

Start a projectRead case studies
Desktop, prefers-reduced-motion: reduce
Northfold
  • About
  • Contact

Brand & product studio

We make complicated companies simple to choose

Northfold is a 14-person studio helping manufacturers, labs and B2B teams explain what they do — and look like they mean it.

Start a projectRead case studies
Phone, reduced motion