Move your cursor
More cursor effects in Pro
Cursor trails and pointer effects that give a site its own feel.
colors | string[] | ['#4f8cff', '#2dd4bf', '#ffd166'] | Palette the ink cycles through when rainbow is off. |
rainbow | Cycles through the full spectrum instead of the palette. | ||
colorSpeed | How fast the colors shift while you move. 0 keeps one color per stroke. | ||
intensity | How much ink each movement leaves behind. | ||
size | Width of the stroke and the splash. | ||
force | How hard the cursor pushes the fluid. | ||
swirl | 3 | Amount of curling eddies in the flow. | |
trail | How long the ink lingers before it fades. 2 lasts twice as long. | ||
momentum | How long the fluid keeps moving after the cursor stops. | ||
shading | Depth shading on the ripples, from 0 to 1. | ||
glow | Soft bloom around the brightest ink, from 0 to 1. | ||
quality | 'low' | 'medium' | 'high' | 'high' | Simulation detail. Lower settings are lighter on older devices. |
clickSplash | Bursts a splash where you click or tap. | ||
| Plays a short stroke across the screen on mount. | |||
contained | Fills the parent element instead of the whole viewport and only reacts inside it. | ||
theme | 'dark' | 'light' | 'dark' | Glowing ink for dark backgrounds or absorbing ink for light ones. |
zIndex | 50 | Stacking order of the effect over your content. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
colorsstring[]Palette the ink cycles through when rainbow is off.
['#4f8cff', '#2dd4bf', '#ffd166']rainbowbooleanCycles through the full spectrum instead of the palette.
colorSpeednumberHow fast the colors shift while you move. 0 keeps one color per stroke.
intensitynumberHow much ink each movement leaves behind.
sizenumberWidth of the stroke and the splash.
forcenumberHow hard the cursor pushes the fluid.
swirlnumberAmount of curling eddies in the flow.
3trailnumberHow long the ink lingers before it fades. 2 lasts twice as long.
momentumnumberHow long the fluid keeps moving after the cursor stops.
shadingnumberDepth shading on the ripples, from 0 to 1.
glownumberSoft bloom around the brightest ink, from 0 to 1.
quality'low' | 'medium' | 'high'Simulation detail. Lower settings are lighter on older devices.
'high'clickSplashbooleanBursts a splash where you click or tap.
introbooleanPlays a short stroke across the screen on mount.
containedbooleanFills the parent element instead of the whole viewport and only reacts inside it.
theme'dark' | 'light'Glowing ink for dark backgrounds or absorbing ink for light ones.
'dark'zIndexnumberStacking order of the effect over your content.
50Extra class names for the container.
Inline styles for the container.



