Pixel Size
48px
Gap
0px
Pixel Radius
0%
Pixel Scale
0
Pixel Spin
0°
Duration
400ms
Pixel Duration
350ms
Randomness
0.2
Bounce
0.3

More cursor effects in Pro

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

View all 19
21 properties
firstContentReactNodeContent shown at rest.
secondContentReactNodeContent that builds in pixel by pixel.
pattern'pointer' | 'random' | 'center' | 'edges' | 'left-to-right' | 'right-to-left' | 'top-to-bottom' | 'bottom-to-top' | 'diagonal' | 'spiral''pointer'Order the pixels arrive in. Pointer starts the wave where the cursor enters, leaves or clicks.
pixelSize48Edge length of each pixel in px. Grows automatically when the grid would pass 600 pixels.
gapSpace between pixels in px while they grow.
pixelRadiusCorner rounding of the pixels while they grow, as a percentage. 50 starts them as dots.
pixelScaleSize each pixel pops in at, from 0 to grow out of nothing to 0.9 for a hard pop.
pixelSpinDegrees each pixel turns as it grows in.
duration400Time in ms the wave takes to cross the content.
pixelDuration350Time in ms a single pixel takes to grow.
randomness0.2Noise mixed into the pattern, from 0 for a clean wave to 1 for a scatter.
bounce0.3How far each pixel overshoots before it settles, from 0 to 1.
trigger'hover' | 'click' | 'none''hover'What starts the swap. With none, drive it with active.
Builds the first content in from pixels on mount.
initialActiveStarts on the second content.
activeControls which content shows. Pair it with onActiveChange.
onActiveChange(active: boolean) => voidCalled when the trigger asks to swap.
onComplete(active: boolean) => voidCalled when a swap finishes.
aspectRatio'16 / 10'Aspect ratio of the root.
Extra class names for the root.
Inline styles for the root.
firstContentReactNode

Content shown at rest.

secondContentReactNode

Content that builds in pixel by pixel.

pattern'pointer' | 'random' | 'center' | 'edges' | 'left-to-right' | 'right-to-left' | 'top-to-bottom' | 'bottom-to-top' | 'diagonal' | 'spiral'

Order the pixels arrive in. Pointer starts the wave where the cursor enters, leaves or clicks.

Default'pointer'
pixelSizenumber

Edge length of each pixel in px. Grows automatically when the grid would pass 600 pixels.

Default48
gapnumber

Space between pixels in px while they grow.

pixelRadiusnumber

Corner rounding of the pixels while they grow, as a percentage. 50 starts them as dots.

pixelScalenumber

Size each pixel pops in at, from 0 to grow out of nothing to 0.9 for a hard pop.

pixelSpinnumber

Degrees each pixel turns as it grows in.

durationnumber

Time in ms the wave takes to cross the content.

Default400
pixelDurationnumber

Time in ms a single pixel takes to grow.

Default350
randomnessnumber

Noise mixed into the pattern, from 0 for a clean wave to 1 for a scatter.

Default0.2
bouncenumber

How far each pixel overshoots before it settles, from 0 to 1.

Default0.3
trigger'hover' | 'click' | 'none'

What starts the swap. With none, drive it with active.

Default'hover'
introboolean

Builds the first content in from pixels on mount.

initialActiveboolean

Starts on the second content.

activeboolean

Controls which content shows. Pair it with onActiveChange.

onActiveChange(active: boolean) => void

Called when the trigger asks to swap.

onComplete(active: boolean) => void

Called when a swap finishes.

aspectRatiostring

Aspect ratio of the root.

Default'16 / 10'

Extra class names for the root.

Inline styles for the root.