Beam Pour
A beam of light that drops onto a surface, flares into a splash, runs along the top edge and spills over the corners, with lit smoke, drifting dust and a glow that follows the pointer.
pixikit.com/docs/effects/beam-pour
Customize
Beam position0.60
Surface level0.60
Color
Intensity1.80
Beam width1.50
Flare1.50
Spread1.50
Spill1.00
Fog0.20
Dust1.60
Streaks1.50
Dots1.00
Pulse1.50
Speed1.50
Seed3
Mouse interaction
Reveal radius220px
Reveal opacity0.60
Intro
Theme
Paused
Dpr
Props
25| Name | Type | Default | Description |
|---|---|---|---|
surfaceRef | RefObject<HTMLElement | null> | None | Element the beam lands on; the light spreads along its top edge and spills over its corners. |
beamPosition | number | 0.6 | Horizontal position of the beam, from 0 at the left edge to 1 at the right edge. |
surfaceLevel | number | 1 | Where the beam lands when no surfaceRef is given, from 0 at the top to 1 at the bottom. |
color | string | "#3847ff" | Colour of the light; every other tone is derived from it. |
intensity | number | 1.8 | Overall brightness of the light. |
beamWidth | number | 1.5 | Thickness of the beam and its glow. |
flare | number | 1.5 | Size of the splash where the beam meets the surface. |
spread | number | 1.5 | How far the light travels along the surface. |
spill | number | 1 | How much light pours over the corners of the surface. |
fog | number | 0.2 | Amount of smoke lit up by the beam; 0 turns it off. |
dust | number | 1.6 | Amount of glittering dust flowing with the light. |
streaks | number | 1.5 | Brightness of the fine lines flowing along the splash. |
dots | number | 1 | Strength of the fine dot texture in the glow. |
pulse | number | 1.5 | How much the splash breathes over time. |
speed | number | 1.5 | Animation speed; 0 holds the light still. |
seed | number | 3 | Changes the shape of the smoke. |
mouseInteraction | boolean | true | Brightens the light, smoke and dust softly around the pointer. |
revealImage | string | None | Image revealed through the light around the pointer, such as a screenshot of your interface. |
revealRadius | number | 220 | Radius of the reveal around the pointer, in pixels. |
revealOpacity | number | 0.6 | Strength of the revealed image; 0 hides it. |
intro | boolean | true | Drops the beam in and lets the light run along the surface on mount. |
theme | "dark" | "light" | "dark" | Use light for light page backgrounds. |
paused | boolean | false | Freezes the animation. |
dpr | number | None | The highest device pixel ratio drawn, capped at 2. |
className | string | None |