Grid Size
10
Gap
0.18
Edge Width
1px
Face Opacity
Shading
0.6
Max Angle
45°
Radius
3
Speed
Bounce
0.4
Brush
Perspective
0
Ripple Speed

More cursor effects in Pro

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

View all 19
22 properties
gridSize10Number of cubes on each side of the grid.
gap0.18Space between cubes, as a fraction of a cell.
faceColor'#120F17'Color of the cube faces. Match it to your page background for a clean cut-out look.
edgeColor'#ffffff'Color of the cube outlines.
edgeWidthWidth of the outlines in px.
edgeStyle'solid' | 'dashed' | 'dotted' | 'none''solid'How the cube outlines are drawn.
faceOpacityOpacity of the faces, from 0 for see-through wireframes to 1 for solid cubes.
shading0.6How much the sides of turned cubes pick up light, so they read as solid 3D shapes.
maxAngle45How far cubes turn to face the cursor, in degrees.
radius3How far the cursor reaches, in cubes.
speedHow quickly cubes respond.
bounce0.4How much cubes overshoot and wobble as they settle, from 0 to 1.
brushHow strongly fast cursor sweeps spin the cubes they pass over.
perspectiveCamera perspective, from 0 for a flat front view to 1 for strong depth.
autoAnimateDrifts a gentle wave across the grid while the cursor is away.
rippleOnClickClicking sends a ripple through the cubes that lights up their edges.
rippleColor'#ffffff'Color the ripple lights the cubes with.
rippleSpeedSpeed of the ripple.
Cubes tumble into place from the center on mount.
pausedFreezes the animation.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
gridSizenumber

Number of cubes on each side of the grid.

Default10
gapnumber

Space between cubes, as a fraction of a cell.

Default0.18
faceColorstring

Color of the cube faces. Match it to your page background for a clean cut-out look.

Default'#120F17'
edgeColorstring

Color of the cube outlines.

Default'#ffffff'
edgeWidthnumber

Width of the outlines in px.

edgeStyle'solid' | 'dashed' | 'dotted' | 'none'

How the cube outlines are drawn.

Default'solid'
faceOpacitynumber

Opacity of the faces, from 0 for see-through wireframes to 1 for solid cubes.

shadingnumber

How much the sides of turned cubes pick up light, so they read as solid 3D shapes.

Default0.6
maxAnglenumber

How far cubes turn to face the cursor, in degrees.

Default45
radiusnumber

How far the cursor reaches, in cubes.

Default3
speednumber

How quickly cubes respond.

bouncenumber

How much cubes overshoot and wobble as they settle, from 0 to 1.

Default0.4
brushnumber

How strongly fast cursor sweeps spin the cubes they pass over.

perspectivenumber

Camera perspective, from 0 for a flat front view to 1 for strong depth.

autoAnimateboolean

Drifts a gentle wave across the grid while the cursor is away.

rippleOnClickboolean

Clicking sends a ripple through the cubes that lights up their edges.

rippleColorstring

Color the ripple lights the cubes with.

Default'#ffffff'
rippleSpeednumber

Speed of the ripple.

introboolean

Cubes tumble into place from the center on mount.

pausedboolean

Freezes the animation.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.