Spark Trail
FreeThe 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 ring that follows the cursor with an elastic lag, stretches with speed and, over anything clickable, morphs into its outline like a soft magnet.
Free forever
MIT license, for personal and commercial projects. See installation
Everything clickable
is recognized.
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | 38 | Diameter of the ring at rest, in px. |
color | string | "#FFFFFF" | Color of the ring and the dot. |
stiffness | number | 260 | Stiffness of the spring: higher follows the cursor more tightly. |
damping | number | 0.62 | Bounce of the spring: 0.3 overshoots and returns, 1 arrives without bouncing. |
snap | boolean | true | Over a clickable element, the ring takes its shape (otherwise it just grows). |
grow | number | 1.9 | How much it grows over a clickable when it doesn't snap to its shape. |
dot | boolean | true | Shows the center dot that follows the cursor with no lag. |
hideCursor | boolean | true | Hides the system cursor inside the container. |
global | boolean | false | Follows the cursor across the whole window instead of just the container. |
autoplay | boolean | false | Wanders 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). |
1Install the package
npm i furin-ui2Import 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.
Each file ships its own CSS: there's nothing else to install.
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