Components / effect

Ring Cursor

v1.0.0 · premium

A precise dot with a ring that trails behind it, growing and tinting over links.

Ring Cursor demo

Implementation

A precise dot with a ring that trails behind it, growing and tinting over links.

Framework
React 19.3.1 with TypeScript
Motion
Native CSS and browser APIs. No GSAP required.
Available modes
build
Version
1.0.0 · published

Source code

Download source ZIP
export function CursorRing({ children, size = 40, follow = 120, ink, className }: {
  children: ReactNode;
  /** Ring diameter in pixels. */

Quality evidence

Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .

Changelog

v1.0.0 · A precise dot with a ring that trails behind it, growing and tinting over links.

Frequently asked questions

Why does it use both a ring and a dot?

The dot is exact and shows precisely where a click lands. The ring trails behind it for the feeling of weight, and grows over targets to signal that they are interactive.

Can I change which elements count as targets?

Add a data-cursor attribute to any element. Links and buttons are targets automatically.