Skip to content
PixiKit

Ember Cursor

The pointer draws a thread of light that glows, drifts and cools before it fades, with a white-hot tip and a swirl of light on click.

pixikit.com/docs/effects/ember-cursor

Customize

Scope
Color
Secondary color
Intensity1.3
Trail width3.0px
Linger1.4s
Glow1.2
Hotspot0.8
Follow speed0.60
Grain0.00
Click burst
Quality
Theme
Max device pixel ratio2.00
Enabled

Props

19
NameTypeDefaultDescription
scope"container" | "page""container"Fills its own box, or the whole page above everything.
colorstring"#5f8bff"Colour of the light where it is freshly drawn.
secondaryColorstringNoneColour the light cools to as it drifts; a deeper shade of the main colour when left out.
intensitynumber1.3Brightness of the light.
trailWidthnumber3Thickness of the light where it is drawn, in pixels.
lingernumber1.4Seconds the light stays visible before it fades.
glownumber1.2Strength of the soft glow around the light.
hotspotnumber0.8Strength of the white-hot core near the pointer.
followSpeednumber0.6How tightly the light follows the pointer, 0 to 1.
grainnumber0Amount of film grain in the light.
clickBurstbooleantrueReleases a burst of light when you click.
quality"low" | "medium" | "high""high"Resolution of the drawing; lower it for weaker devices.
theme"dark" | "light""dark"Use `light` on light backgrounds for an ink-like look.
blendModestringNoneCSS blend mode of the canvas; `screen` in dark and `normal` in light when left out.
maxDevicePixelRationumber2Maximum pixel density of the canvas.
enabledbooleantrueStops drawing new light while keeping what is already there.
childrenReactNodeNoneContent rendered above the light.
classNamestringNone
styleCSSPropertiesNone

More interaction effects in Pro

View all

Related