Measured entry
motion-primitives-cursor
cursor-effectdark-futuristicmotion on file
A client-side React cursor replacement distributed as a shadcn registry component. It follows pointer movement with Motion values, can hide the system cursor globally or only over its parent, and accepts custom animation variants. It depends on Motion plus a 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 | 72.3 KB (137.8 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 primitive for portfolios and immersive demos, with clean mounting and no provider requirement. Use it selectively: the global mode changes the body cursor, and the parent hover listener cleanup should be corrected for long-lived dynamic views.
Use it if
- You want a branded pointer treatment for a focused interactive demo or showcase.
- You need either a page-wide cursor replacement or one scoped to a parent region.
- Your React interface already uses Motion and Tailwind-style utility classes.
Skip it if
- Your product must preserve familiar native cursor feedback across controls.
- You want to avoid adding Motion for a small decorative interaction.
- Your interface is primarily touch-driven, where a custom pointer adds little value.
- You need strict cleanup of parent hover listeners without revising the source.
Install
| Declared dependencies | motion, 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 Motion, clsx, and tailwind-merge, provide a compatible cn helper, replace the path alias if needed, and ensure the utility classes used by the component are available in your styling setup. Keep it client-side.
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/ibelick/motion-primitivesAlternatives
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