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.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 72.7 KB (138.2 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | framer-motion, react, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no 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.
Author repository
github.com/moumen-soliman/uitripledAlternatives
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.
- tripled-liquid-cursor-shadcnuiliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 21.1KB
- Bare
- pass
- Prov
- NO
- kibo-cursorminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 29.9KB
- Bare
- pass
- Prov
- NO
- tripled-spotlight-section-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 61.8KB
- Bare
- pass
- Prov
- NO
- tripled-native-typewriterminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 69.9KB
- Bare
- pass
- Prov
- NO
- tripled-native-typewriter-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 69.9KB
- Bare
- pass
- Prov
- NO
- tripled-native-magneticminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 70.5KB
- Bare
- pass
- Prov
- NO