Blurred Rays
Flickering vertical light beams with bloom
Customize
Tweak the props liveRays
Animation & Layout
Color & Vignette
Visual
#FFFFFFProps
| Name | Type | Default | Description |
|---|---|---|---|
width | string | number | "100%" | Container width |
height | string | number | "100%" | Container height |
className | string | "" | Additional CSS classes for styling |
children | ReactNode | undefined | Content rendered above the effect |
speed | number | 0.5 | Overall animation speed multiplier (0.1–3.0) |
flickerRate | number | 1 | Rate at which individual rays flicker (0.1–5.0) |
rayCount | number | 25 | Total number of light beams (1–128) |
raySpacing | number | 0.27 | Horizontal gap between adjacent rays (0.01–1.0) |
rayThickness | number | 0.35 | Base thickness of each ray (0.01–1.0) |
edgeSoftness | number | 0.65 | Blur radius at ray edges (0.01–2.0) |
widthPulse | number | 0.1 | Amplitude of width oscillation (0–1) |
widthBase | number | 0.3 | Minimum width baseline (0.01–1.0) |
horizontalScale | number | 4.6 | Horizontal stretch factor (0.5–10) |
verticalOffset | number | -0.5 | Vertical shift of the ray field (-2–2) |
originX | number | 0 | X position where rays originate (-5–5) |
colorShiftR | number | 1 | Red channel color modulation intensity (0–3) |
colorShiftG | number | 1 | Green channel color modulation intensity (0–3) |
colorShiftB | number | 1 | Blue channel color modulation intensity (0–3) |
vignetteTop | number | 1.3 | Top edge fade distance (0–3) |
vignetteBottom | number | 0.95 | Bottom edge fade distance (0–3) |
vignetteLeft | number | 3 | Left edge fade distance (0–10) |
vignetteRight | number | 3 | Right edge fade distance (0–10) |
bloom | number | 4 | Glow / bloom multiplier (0–10) |
brightness | number | 2 | Overall brightness (0.1–5) |
backgroundColor | string | "#000000" | Background color in hex format |
opacity | number | 1 | Master opacity (0–1) |
cursorInteraction | boolean | false | Enable cursor interaction to shift the ray origin |
widthstring | numberContainer width
"100%"heightstring | numberContainer height
"100%"classNamestringAdditional CSS classes for styling
""childrenReactNodeContent rendered above the effect
undefinedspeednumberOverall animation speed multiplier (0.1–3.0)
0.5flickerRatenumberRate at which individual rays flicker (0.1–5.0)
1rayCountnumberTotal number of light beams (1–128)
25raySpacingnumberHorizontal gap between adjacent rays (0.01–1.0)
0.27rayThicknessnumberBase thickness of each ray (0.01–1.0)
0.35edgeSoftnessnumberBlur radius at ray edges (0.01–2.0)
0.65widthPulsenumberAmplitude of width oscillation (0–1)
0.1widthBasenumberMinimum width baseline (0.01–1.0)
0.3horizontalScalenumberHorizontal stretch factor (0.5–10)
4.6verticalOffsetnumberVertical shift of the ray field (-2–2)
-0.5originXnumberX position where rays originate (-5–5)
0colorShiftRnumberRed channel color modulation intensity (0–3)
1colorShiftGnumberGreen channel color modulation intensity (0–3)
1colorShiftBnumberBlue channel color modulation intensity (0–3)
1vignetteTopnumberTop edge fade distance (0–3)
1.3vignetteBottomnumberBottom edge fade distance (0–3)
0.95vignetteLeftnumberLeft edge fade distance (0–10)
3vignetteRightnumberRight edge fade distance (0–10)
3bloomnumberGlow / bloom multiplier (0–10)
4brightnessnumberOverall brightness (0.1–5)
2backgroundColorstringBackground color in hex format
"#000000"opacitynumberMaster opacity (0–1)
1cursorInteractionbooleanEnable cursor interaction to shift the ray origin
false