Skip to content

Ring Cursor

A ring that follows the cursor with an elastic lag, stretches with speed and, over anything clickable, morphs into its outline like a soft magnet.

Plan
Free · MIT
Dependencies
React only
Props
11 (10 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Everything clickable
is recognized.

See examples

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
sizenumber38Diameter of the ring at rest, in px.
colorstring"#FFFFFF"Color of the ring and the dot.
stiffnessnumber260Stiffness of the spring: higher follows the cursor more tightly.
dampingnumber0.62Bounce of the spring: 0.3 overshoots and returns, 1 arrives without bouncing.
snapbooleantrueOver a clickable element, the ring takes its shape (otherwise it just grows).
grownumber1.9How much it grows over a clickable when it doesn't snap to its shape.
dotbooleantrueShows the center dot that follows the cursor with no lag.
hideCursorbooleantrueHides the system cursor inside the container.
globalbooleanfalseFollows the cursor across the whole window instead of just the container.
autoplaybooleanfalseWanders on its own, visiting clickable things, when nobody moves the cursor.
sample{ title?: string; primary?: string; secondary?: string; link?: string }"sample texts"Texts of the sample content: title (use \n for a line break), two buttons and a link (only visible if you omit children).

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { RingCursor } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • The cursor sheds sparks with real physics: they inherit its momentum, fall under gravity, bounce on the floor and cool from white to ember.

    Cursors

  • A dark layer that only reveals hidden content where a flashlight beam points, with warm light, a spring when it opens and a soft falloff.

    Cursors

  • A red laser dot with bloom, speckle and natural hand tremor; if you move it fast, the beam shows up in the dust in the air. A click fires a flash.

    Cursors