Measured entry
tripled-native-magnetic
cursor-effectminimal-flatmotion on file
A client-side React wrapper that makes its child follow the pointer and spring back, with optional hover and press scaling. It ships as a shadcn registry component, renders an animated div, button, or anchor, and depends 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 solid fit for selective desktop-facing accents when Framer Motion is already present. The spring behavior is configurable and the wrapper mounts cleanly, but the mouse-first interaction, missing reduced-motion handling, and narrow element API make it a poor universal wrapper for links or controls.
Use it if
- You want a restrained magnetic treatment for a small set of prominent calls to action.
- Your project already uses Framer Motion and can absorb another motion-based interaction.
- You need tunable pull, spring response, and hover scaling without building the pointer math yourself.
Skip it if
- Your experience is touch-first, since the magnetic movement is driven by mouse events.
- You need reduced-motion behavior out of the box; the component does not consult the user motion preference.
- You need arbitrary anchor, button, accessibility, or event props, because its public prop surface is deliberately narrow.
- You do not otherwise use Framer Motion and want to keep the interaction dependency-light.
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, Framer Motion, clsx, and tailwind-merge; provide a local cn helper or replace that import; keep the client-component directive; and ensure your styling pipeline supplies the utility classes used by the wrapper.
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-magnetic-carbonminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 70.5KB
- Bare
- pass
- Prov
- NO