Measured entry

tripled-native-magnetic-carbon

cursor-effectminimal-flatmotion on file

A client-side React wrapper that makes its child follow the pointer with spring motion, with optional hover and press scaling. It ships as a shadcn registry component, renders a motion div, button, or link, and relies on Framer Motion plus a local cn utility backed by clsx and tailwind-merge.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-native-magnetic-carbon at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-magnetic-carbon at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-magnetic-carbon at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for tripled-native-magnetic-carbon
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal70.5 KB (136.0 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A focused, working cursor effect with useful spring controls and clean button and link modes. It is a good fit when Framer Motion is already present, but its mouse-led interaction, limited prop forwarding, and lack of an explicit reduced-motion branch make it a deliberate accent rather than a default wrapper.

Use it if

  • You want a magnetic pointer treatment around a call to action or compact link.
  • Your React app already uses Framer Motion and can reuse its animation runtime.
  • You need configurable pull strength and spring behavior without building the pointer math yourself.

Skip it if

  • You need the effect to respond meaningfully to keyboard or touch input, since the magnetic movement is driven by mouse events.
  • You require built-in reduced-motion handling rather than adding that policy around the component.
  • You are avoiding Framer Motion for bundle or dependency reasons.
  • You need arbitrary element types or broad native attribute forwarding beyond the component's narrow prop surface.

Install

Installation record for tripled-native-magnetic-carbon
Declared dependenciesframer-motion, react, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, add Framer Motion, React, clsx, and tailwind-merge; provide a cn helper that combines class names, and either configure the at-sign import alias or replace that import with a relative path. The file must run as a client component in frameworks that distinguish client and server modules.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Alternatives

Other published entries for the cursor-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.