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.



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 | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 70.5 KB (136.0 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| 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 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.
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