Hourglass Arcs
Fine arcs sweep in from both sides and pinch into a bright waist, like light through an hourglass laid on its side. Hovering quickens the sweep and a click sends a surge out along the arcs.
pixikit.com/docs/effects/hourglass-arcs
Customize
Preset
Colors2 of 10
Background color
Mode
Line count18
Thickness1.00px
Spread0.36
Ghost0.60
Glow1.00
Intensity1.00
Speed1.00
Breathe0.40
Angle0°
Center y0.50
Hue shift0°
Color cycle0.00
Surge1.00
Click surge
Hover boost0.50
Interactive
Paused
Props
26| Name | Type | Default | Description |
|---|---|---|---|
preset | "aurora" | "dense" | "ember" | "mono" | "prism" | "still" | "aurora" | A named look. Values you leave at their default follow it; anything you set wins. |
colors | [string, string] | ["#B19EEF", "#FF9FFC"] | Colour of the arcs, then colour of the waist where they meet. |
backgroundColor | string | "#0A0A0A" | Fill behind the arcs. Pass transparent to show the page. |
mode | "auto" | "glow" | "ink" | "auto" | glow adds light for dark backdrops, ink draws solid lines for light ones, auto picks by the backdrop. |
lineCount | number | 18 | Number of solid arcs in the fan. |
thickness | number | 1 | Arc thickness in CSS pixels. |
spread | number | 0.36 | How far the fan opens at the edges, as a share of the height. |
ghost | number | 0.6 | How far the fainter arcs continue outside the fan. 0 hides them. |
glow | number | 1 | Soft bloom around the arcs and the waist. |
intensity | number | 1 | Brightness of the arcs. |
speed | number | 1 | How fast the arcs sweep through the fan. Negative values reverse the sweep. |
breathe | number | 0.4 | How much the fan opens and closes over time. |
angle | number | 0 | Rotation of the whole figure in degrees. |
centerY | number | 0.5 | Vertical position of the waist, from 0 at the top to 1 at the bottom. |
hueShift | number | 0 | Rotates both colours around the colour wheel, in degrees. |
colorCycle | number | 0 | How fast both colours drift back and forth around the wheel. 0 keeps them fixed. |
surge | number | 1 | Strength of the surge a click sends out. |
clickSurge | boolean | true | Clicking the background sends a surge along the arcs. |
hoverBoost | number | 0.5 | How much the sweep quickens and the waist brightens under the pointer, from 0 to 2. |
interactive | boolean | true | Responds to hover and clicks. |
paused | boolean | false | Freezes the sweep. |
quality | number | 1 | Render scale: 1 draws at up to twice the CSS resolution, lower values are cheaper. |
ref | Ref<HourglassArcsHandle> | None | Gives surge(). |
children | ReactNode | None | Content laid over the effect, such as a hero headline. |
className | string | None | |
style | CSSProperties | None |