Skip to content
PixiKit

Dawn Lines

Thin lines of light lift off a glowing horizon and fade as they climb, with fine sparks drifting between them. The column under the pointer rises faster and a click launches a volley.

pixikit.com/docs/effects/dawn-lines

Customize

Preset
Colors2 of 10
Background color
Density1.00
Speed0.60
Line width1.00px
Line length1.00
Horizon height-0.45
Horizon glow1.00
Depth0.50
Spread1.00
Updraft1.00
Particles1.00
Interactive
Intro
Paused

Props

21
NameTypeDefaultDescription
preset"classic" | "magenta" | "lavender" | "ember" | "ice" | "rain" | "dusk" | "sparks""classic"A named look. Values you leave at their default follow it; anything you set wins.
colors[string, string]["#8B5CF6", "#FF9FFC"]Tail and haze colour, then line colour. Each line runs from a hot head through the line colour into the tail colour.
backgroundColorstring"transparent"Fill behind the lines. Transparent shows the page; on a light backdrop the lines are drawn as ink.
densitynumber1How many lines rise from the horizon.
speednumber0.6Speed of the lines and the sparks.
lineWidthnumber1Line width in CSS pixels.
lineLengthnumber1Length of the fading tail behind each head.
horizonHeightnumber-0.45Vertical position of the horizon. -0.65 sits on the bottom edge and higher values lift it.
horizonGlownumber1Brightness of the horizon line and the glow around it.
depthnumber0.5Perspective. Distant lines start a little above the horizon, thinner and dimmer, inside a soft haze.
spreadnumber1Width of the visible field and of the horizon glow.
updraftnumber1Strength of the hover updraft. Lines under the pointer rise faster and denser.
particlesnumber1Brightness of the fine rising sparks. 0 hides them.
interactivebooleantrueHover lifts a column of lines and a click launches a volley from the horizon. Volleys stack.
introbooleantrueThe horizon opens from the centre and the lines rise into view on mount.
pausedbooleanfalseStops the motion. Reduced motion shows a still frame.
dprnumber2Maximum device pixel ratio of the canvas, capped at 2.
refRef<DawnLinesHandle>NoneGives launch(x, strength) and replay().
childrenReactNodeNoneContent laid over the effect, such as a hero headline.
classNamestringNone
styleCSSPropertiesNone

More background effects in Pro

View all

Related