Measured entry

animata-cursor-tracker

cursor-effectdark-futuristicmotion on file

A React card that hides the native cursor and moves a labeled pill with pointer motion inside its bounds. It ships as a registry component plus a mouse-position hook, uses React and Tailwind utility classes, and expects the project's at-sign import alias. It has no third-party runtime package dependency.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of animata-cursor-tracker at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of animata-cursor-tracker at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of animata-cursor-tracker 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 animata-cursor-tracker
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal18.2 KB (83.6 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 650ms
error during build:
[vite:load-fallback] Could not load <sandbox>re-894fe177baab/src/hooks/use-mouse-position (imported by src/cut/~/components/animata/container/cursor-tracker.tsx): ENOENT: no such file or directory, open '<sandbox>re-894fe177baab/src/hooks/use-mouse-position'

Verdict

A sound, dependency-light cursor effect with clean event cleanup and direct style updates. Use it as a starting point for a promotional card, not as a ready-made generic wrapper: its content is fixed, its follower is decorative, and the interaction is desktop-oriented.

Use it if

  • You want a compact hover area with a custom cursor label that follows the pointer.
  • Your React interface already uses Tailwind and can absorb a small component and hook.
  • You are prepared to replace the included card copy and styling with product-specific content.

Skip it if

  • The interaction must provide equivalent feedback on touch-only devices, where hover tracking has little value.
  • You need a generic wrapper that renders arbitrary children, because this export accepts no content props and contains fixed copy.
  • Hiding the native cursor conflicts with your usability or accessibility policy.
  • The follower needs to be an actual control, because the included label ignores pointer events and is not interactive.

Install

Installation record for animata-cursor-tracker
Declared dependenciesnone declared
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, copy both the component and mouse-position hook, add React and Tailwind if absent, and either configure the at-sign path alias or change the hook import to a relative path. Next.js App Router projects should mark the component boundary as client-side before using its hooks.

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/codse/animata
License
MIT
Record published
2026-08-14

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.