Move around

Grid Size
50
Trail Size
0.1
Max Age
500ms
Interpolate
5
Gooey Strength
2
Gap
0.08
Flow
0
Gravity
0
Sparkle
0
Shine
0.6
Glow
0.4

More cursor effects in Pro

Cursor trails and pointer effects that give a site its own feel.

View all 19
21 properties
gridSize40Number of pixels across the longer side.
trailSize0.1Radius of the trail brush, as a fraction of the longer side.
maxAge250How long each part of the trail lasts, in ms.
interpolate5How many in-between points fill gaps on fast moves. Higher is smoother.
easingFunction(x: number) => numberx => xEasing curve for how the trail swells in and fades out.
color'#ffffff'Pixel color.
trailColorundefinedA second color the trail shifts to as it ages. Leave it out for a single color.
gooeyFilter{ strength: number } | false{ strength: 2 }Melts neighbouring pixels into liquid blobs. Higher strength rounds them more. Pass false for separate pixels.
shape'square' | 'circle' | 'diamond''square'Shape of each pixel when goo is off.
gap0.08Space between pixels, as a fraction of a pixel. With goo on it draws fine seams between them.
decay'fade' | 'shrink' | 'dither''fade'How pixels disappear: fading out, shrinking away or dropping out in a dither pattern.
flowHow much the trail keeps drifting in the direction the cursor moved, from 0 to 1.
gravityMakes the trail sag down as it fades. Negative values make it rise, from -1 to 1.
sparkleMakes fading pixels flicker, from 0 to 1.
shine0.6Glossy light on the pixels: bevels on every step, a brighter core and highlights, from 0 to 1.
glow0.4A soft glow around the trail, from 0 to 1.
clickBurstClicking splashes a ring of trail out from the cursor.
imageSrcundefinedAn image the trail reveals. Each pixel takes the color of the image beneath it.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
Inline styles for the container.
gridSizenumber

Number of pixels across the longer side.

Default40
trailSizenumber

Radius of the trail brush, as a fraction of the longer side.

Default0.1
maxAgenumber

How long each part of the trail lasts, in ms.

Default250
interpolatenumber

How many in-between points fill gaps on fast moves. Higher is smoother.

Default5
easingFunction(x: number) => number

Easing curve for how the trail swells in and fades out.

Defaultx => x
colorstring

Pixel color.

Default'#ffffff'
trailColorstring

A second color the trail shifts to as it ages. Leave it out for a single color.

Defaultundefined
gooeyFilter{ strength: number } | false

Melts neighbouring pixels into liquid blobs. Higher strength rounds them more. Pass false for separate pixels.

Default{ strength: 2 }
shape'square' | 'circle' | 'diamond'

Shape of each pixel when goo is off.

Default'square'
gapnumber

Space between pixels, as a fraction of a pixel. With goo on it draws fine seams between them.

Default0.08
decay'fade' | 'shrink' | 'dither'

How pixels disappear: fading out, shrinking away or dropping out in a dither pattern.

Default'fade'
flownumber

How much the trail keeps drifting in the direction the cursor moved, from 0 to 1.

gravitynumber

Makes the trail sag down as it fades. Negative values make it rise, from -1 to 1.

sparklenumber

Makes fading pixels flicker, from 0 to 1.

shinenumber

Glossy light on the pixels: bevels on every step, a brighter core and highlights, from 0 to 1.

Default0.6
glownumber

A soft glow around the trail, from 0 to 1.

Default0.4
clickBurstboolean

Clicking splashes a ring of trail out from the cursor.

imageSrcstring

An image the trail reveals. Each pixel takes the color of the image beneath it.

Defaultundefined
dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.

Inline styles for the container.