Measured entry

tripled-native-follow-cursor

cursor-effectminimal-flatmotion on file

A client-side React cursor label that tracks document mouse movement with spring animation, plus an area-scoped variant that appears only while hovered. It ships as a shadcn registry source file and depends on React, Framer Motion, a cn helper, and Tailwind utility classes with theme tokens.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-native-follow-cursor at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-follow-cursor at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-follow-cursor 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-follow-cursor
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal72.7 KB (138.2 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A flexible, working cursor accent with useful global and region-scoped modes. It is easy to adapt, but the contrast finding needs attention and the Framer Motion cost is substantial for an effect that is mostly decorative.

Use it if

  • You want a short label or custom React content to trail a mouse pointer.
  • You need either page-wide tracking or an effect confined to one content region.
  • Your interface already uses Tailwind theme tokens and Framer Motion.

Skip it if

  • Your experience is primarily touch or keyboard driven, where mouse tracking adds little value.
  • You are minimizing animation dependencies for a small decorative effect.
  • Your design cannot accommodate checking and adjusting the supplied color combinations for contrast.
  • You need cursor content to remain selectable or interactive, since the floating element ignores pointer input.

Install

Installation record for tripled-native-follow-cursor
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 React and Framer Motion, provide a cn class-merging helper backed by clsx and tailwind-merge, configure Tailwind, and define the background, border, primary, popover, and foreground theme tokens used by the variants. Keep it in a client-rendered module.

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.