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| Name | Type | Default | Description |
|---|---|---|---|
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. |
backgroundColor | string | "transparent" | Fill behind the lines. Transparent shows the page; on a light backdrop the lines are drawn as ink. |
density | number | 1 | How many lines rise from the horizon. |
speed | number | 0.6 | Speed of the lines and the sparks. |
lineWidth | number | 1 | Line width in CSS pixels. |
lineLength | number | 1 | Length of the fading tail behind each head. |
horizonHeight | number | -0.45 | Vertical position of the horizon. -0.65 sits on the bottom edge and higher values lift it. |
horizonGlow | number | 1 | Brightness of the horizon line and the glow around it. |
depth | number | 0.5 | Perspective. Distant lines start a little above the horizon, thinner and dimmer, inside a soft haze. |
spread | number | 1 | Width of the visible field and of the horizon glow. |
updraft | number | 1 | Strength of the hover updraft. Lines under the pointer rise faster and denser. |
particles | number | 1 | Brightness of the fine rising sparks. 0 hides them. |
interactive | boolean | true | Hover lifts a column of lines and a click launches a volley from the horizon. Volleys stack. |
intro | boolean | true | The horizon opens from the centre and the lines rise into view on mount. |
paused | boolean | false | Stops the motion. Reduced motion shows a still frame. |
dpr | number | 2 | Maximum device pixel ratio of the canvas, capped at 2. |
ref | Ref<DawnLinesHandle> | None | Gives launch(x, strength) and replay(). |
children | ReactNode | None | Content laid over the effect, such as a hero headline. |
className | string | None | |
style | CSSProperties | None |