Flashlight
ProA 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
The cursor sheds sparks with real physics: they inherit its momentum, fall under gravity, bounce on the floor and cool from white to ember.
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
color | string | "#FFA94D" | Color of the sparks: born nearly white and fading to ember. |
density | number | 2 | How many sparks each stroke sheds (1 is subtle, 3 is a downpour). |
thickness | number | 2.1 | Thickness of the sparks, in px. |
gravity | number | 760 | Gravity pulling them down, in px/s². |
life | number | 0.9 | Seconds each spark lasts. |
global | boolean | false | Follows the cursor across the whole window instead of just the container. |
autoplay | boolean | false | Wanders on its own when nobody moves the cursor. |
hint | string | "Move your cursor" | Hint text of the sample scene (only visible if you omit children). |
1Install the package
npm i furin-ui2Import it
import { SparkTrail } 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.
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
The cursor is a loaded paint roller: drag it to reveal (or cover) your content with the dotted texture of a real roller, ragged edges, paint ridges at the ends and the shine of fresh paint that dries.
Cursors