Cell Size
60px
Radius
140px
Hold Time
400ms
Fade Duration
800ms
Line Width
1px
Max Opacity
Fill Opacity
0.06
Grid Opacity
0.08
Spotlight
0.6
Cell Gap
0px
Cell Corners
0px
Pulse Speed
600px/s
Ambient
0
Edge Fade
0.2

More cursor effects in Pro

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

View all 19
26 properties
color'#ffffff'Color of lit cells and pulses. Defaults to near black in light mode.
gridColor'#ffffff'Color of the grid lines. Defaults to near black in light mode.
cellSize60Size of each grid cell, in px.
highlight'area' | 'cell''area'Light every cell within the radius around the cursor, or only the cell under it.
gridStyle'lines' | 'dashed' | 'dots' | 'crosses''lines'How the grid is drawn: solid lines, dashed lines, dots or plus marks where the lines meet.
radius140Reach of the cursor, in px, for both the lit area and the spotlight.
falloff'smooth' | 'linear' | 'sharp''smooth'How quickly cells dim toward the edge of the radius.
holdTime400How long a cell stays lit before fading, in ms.
fadeDuration800How long a lit cell takes to fade out, in ms.
lineWidthWidth of the grid lines, in px.
maxOpacityBrightness of a fully lit cell outline.
fillOpacity0.06Soft fill inside lit cells.
gridOpacity0.08Opacity of the grid lines at rest. 0 shows only lit cells.
spotlight0.6How much the grid lines brighten around the cursor, from 0 to 1.
cellGapInset of lit cells, in px. Above 0, lit cells become separate tiles.
cellRadiusCorner radius of lit tiles, in px.
clickPulseClicking sends a ring of lit cells out from the click.
pulseSpeed600Speed of the click ring, in px per second.
ambientLets random cells glow softly on their own, from 0 to 1.
edgeFade0.2Fades the grid out toward the edges, from 0 to 0.5.
Draws the grid out from the center with a pulse on mount.
lightModeUses near black lines and cells by default, for light pages.
childrenReactNodeContent drawn above the grid. The grid keeps reacting to the cursor underneath it.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
Inline styles for the container.
colorstring

Color of lit cells and pulses. Defaults to near black in light mode.

Default'#ffffff'
gridColorstring

Color of the grid lines. Defaults to near black in light mode.

Default'#ffffff'
cellSizenumber

Size of each grid cell, in px.

Default60
highlight'area' | 'cell'

Light every cell within the radius around the cursor, or only the cell under it.

Default'area'
gridStyle'lines' | 'dashed' | 'dots' | 'crosses'

How the grid is drawn: solid lines, dashed lines, dots or plus marks where the lines meet.

Default'lines'
radiusnumber

Reach of the cursor, in px, for both the lit area and the spotlight.

Default140
falloff'smooth' | 'linear' | 'sharp'

How quickly cells dim toward the edge of the radius.

Default'smooth'
holdTimenumber

How long a cell stays lit before fading, in ms.

Default400
fadeDurationnumber

How long a lit cell takes to fade out, in ms.

Default800
lineWidthnumber

Width of the grid lines, in px.

maxOpacitynumber

Brightness of a fully lit cell outline.

fillOpacitynumber

Soft fill inside lit cells.

Default0.06
gridOpacitynumber

Opacity of the grid lines at rest. 0 shows only lit cells.

Default0.08
spotlightnumber

How much the grid lines brighten around the cursor, from 0 to 1.

Default0.6
cellGapnumber

Inset of lit cells, in px. Above 0, lit cells become separate tiles.

cellRadiusnumber

Corner radius of lit tiles, in px.

clickPulseboolean

Clicking sends a ring of lit cells out from the click.

pulseSpeednumber

Speed of the click ring, in px per second.

Default600
ambientnumber

Lets random cells glow softly on their own, from 0 to 1.

edgeFadenumber

Fades the grid out toward the edges, from 0 to 0.5.

Default0.2
introboolean

Draws the grid out from the center with a pulse on mount.

lightModeboolean

Uses near black lines and cells by default, for light pages.

childrenReactNode

Content drawn above the grid. The grid keeps reacting to the cursor underneath it.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.

Inline styles for the container.