Scale
0.7
Intensity
Glow
Fill
0
Thickness
1.5px
Strands
4
Bend
0.6
Crackle
1.5
Arcs
Flicker
0.6
Speed
2.5
Cursor Intensity
0.75
Cursor Radius
100px

More cursor effects in Pro

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

View all 19
21 properties
srclightning boltAny image URL. SVGs and transparent PNGs are traced by their alpha, opaque images by keying out their backdrop colour.
color'#ecc7ff'Colour of the hot core of every strand.
glowColor'#ad6dff'Colour of the glow around the strands, the bloom and the interior fill.
scale0.7Size of the logo as a fraction of the container. The glow and arcs extend beyond it.
intensityOverall brightness of the effect.
glowStrength of the halo around strands and the soft bloom around the shape.
thickness1.5Width of the main strand, in px. Satellite strands are thinner, and every strand swells and thins as it flows.
strands4Number of filaments tracing the outline, from 1 to 6. Extra strands come and go along the edge.
bend0.6How far the strands sway and ripple away from the outline. The main strand stays closest.
crackle1.5Size of the fine crinkle along every strand and arc.
arcsHow often short arcs leap off the edge and land further along it. 0 turns them off.
flicker0.6How much the whole effect pulses and each strand shimmers in brightness.
fillTranslucent glow inside the shape, brightest near its edges.
speed2.5Animation speed. 0 freezes the current frame.
interactiveTurn on pointer interactions. Hovering charges the lightning around the cursor, and a click sends a ripple through it with a burst of arcs.
cursorIntensity0.75How strongly the lightning charges up around the cursor. 0 turns the hover charge off.
cursorRadius100Radius of the charged area around the cursor, in px.
theme'dark' | 'light''dark'The background the logo sits on. Dark renders the lightning as emitted light. Light renders crisp electric ink with a white-hot core and a lighter fill.
onRender(canvas: HTMLCanvasElement) => voidundefinedCalled immediately after each rendered frame. Copy the canvas synchronously to capture the current frame for effects such as live reflections.
Extra classes on the container.
Inline styles on the container.
srcstring

Any image URL. SVGs and transparent PNGs are traced by their alpha, opaque images by keying out their backdrop colour.

Defaultlightning bolt
colorstring

Colour of the hot core of every strand.

Default'#ecc7ff'
glowColorstring

Colour of the glow around the strands, the bloom and the interior fill.

Default'#ad6dff'
scalenumber

Size of the logo as a fraction of the container. The glow and arcs extend beyond it.

Default0.7
intensitynumber

Overall brightness of the effect.

glownumber

Strength of the halo around strands and the soft bloom around the shape.

thicknessnumber

Width of the main strand, in px. Satellite strands are thinner, and every strand swells and thins as it flows.

Default1.5
strandsnumber

Number of filaments tracing the outline, from 1 to 6. Extra strands come and go along the edge.

Default4
bendnumber

How far the strands sway and ripple away from the outline. The main strand stays closest.

Default0.6
cracklenumber

Size of the fine crinkle along every strand and arc.

Default1.5
arcsnumber

How often short arcs leap off the edge and land further along it. 0 turns them off.

flickernumber

How much the whole effect pulses and each strand shimmers in brightness.

Default0.6
fillnumber

Translucent glow inside the shape, brightest near its edges.

speednumber

Animation speed. 0 freezes the current frame.

Default2.5
interactiveboolean

Turn on pointer interactions. Hovering charges the lightning around the cursor, and a click sends a ripple through it with a burst of arcs.

cursorIntensitynumber

How strongly the lightning charges up around the cursor. 0 turns the hover charge off.

Default0.75
cursorRadiusnumber

Radius of the charged area around the cursor, in px.

Default100
theme'dark' | 'light'

The background the logo sits on. Dark renders the lightning as emitted light. Light renders crisp electric ink with a white-hot core and a lighter fill.

Default'dark'
onRender(canvas: HTMLCanvasElement) => void

Called immediately after each rendered frame. Copy the canvas synchronously to capture the current frame for effects such as live reflections.

Defaultundefined

Extra classes on the container.

Inline styles on the container.

Dependencies

1 required package

npm install ogl