
May these lights guide you on your path
React Bits brings motion and character to your interface, one copy-paste component at a time.

May these lights guide you on your path
React Bits brings motion and character to your interface, one copy-paste component at a time.
May these lights guide you on your path
React Bits brings motion and character to your interface, one copy-paste component at a time.
More backgrounds in Pro
Shader scenes and animated surfaces made to sit behind real content.
raysOrigin | RaysOrigin | 'top-center' | Where the light comes from: 'top-center', 'top-left', 'top-right', 'left', 'right', 'bottom-center', 'bottom-left' or 'bottom-right'. |
raysColor | '#ffffff' | Color of the light. | |
raysSpeed | Animation speed. 0 freezes the rays. | ||
lightSpread | 0.5 | How wide the beam opens. Lower values give a tight spotlight. | |
rayLength | 3 | How far the rays reach, in container widths. | |
rayDensity | How many separate shafts the beam splits into. | ||
tilt | Turns the beam by this many degrees. | ||
raySharpness | 0.35 | How crisp the edges of the shafts are, from 0 to 1. | |
glow | 0.6 | Brightness of the glow around the light source. | |
haze | 0.25 | Drifting haze that breaks the shafts up, like dust in the air, from 0 to 1. | |
atmosphere | How much the light cools toward blue as it travels away from the source, from 0 to 1. | ||
intensity | Overall brightness of the light. | ||
pulsating | The rays slowly breathe brighter and dimmer. | ||
fadeDistance | How far the rays travel before they dim, in container widths. | ||
saturation | Color saturation of the light. | ||
followMouse | The beam turns toward the cursor. | ||
mouseInfluence | 0.1 | How far the beam turns toward the cursor, from 0 to 1. | |
cursorShadow | The cursor blocks the light and casts a soft shadow down the rays. | ||
clickPulse | Clicking sends a wave of light down the rays. | ||
noiseAmount | Film grain over the rays, from 0 to 1. | ||
distortion | Makes the rays waver as if seen through heat. | ||
| The rays grow out from the source on mount. | |||
lightMode | Prints the light as soft colored ink so it sits on light pages. | ||
opacity | Overall opacity, from 0 to 1. | ||
maxDevicePixelRatio | 2 | Highest pixel ratio the canvas renders at. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
raysOriginRaysOriginWhere the light comes from: 'top-center', 'top-left', 'top-right', 'left', 'right', 'bottom-center', 'bottom-left' or 'bottom-right'.
'top-center'raysColorstringColor of the light.
'#ffffff'raysSpeednumberAnimation speed. 0 freezes the rays.
lightSpreadnumberHow wide the beam opens. Lower values give a tight spotlight.
0.5rayLengthnumberHow far the rays reach, in container widths.
3rayDensitynumberHow many separate shafts the beam splits into.
tiltnumberTurns the beam by this many degrees.
raySharpnessnumberHow crisp the edges of the shafts are, from 0 to 1.
0.35glownumberBrightness of the glow around the light source.
0.6hazenumberDrifting haze that breaks the shafts up, like dust in the air, from 0 to 1.
0.25atmospherenumberHow much the light cools toward blue as it travels away from the source, from 0 to 1.
intensitynumberOverall brightness of the light.
pulsatingbooleanThe rays slowly breathe brighter and dimmer.
fadeDistancenumberHow far the rays travel before they dim, in container widths.
saturationnumberColor saturation of the light.
followMousebooleanThe beam turns toward the cursor.
mouseInfluencenumberHow far the beam turns toward the cursor, from 0 to 1.
0.1cursorShadowbooleanThe cursor blocks the light and casts a soft shadow down the rays.
clickPulsebooleanClicking sends a wave of light down the rays.
noiseAmountnumberFilm grain over the rays, from 0 to 1.
distortionnumberMakes the rays waver as if seen through heat.
introbooleanThe rays grow out from the source on mount.
lightModebooleanPrints the light as soft colored ink so it sits on light pages.
opacitynumberOverall opacity, from 0 to 1.
maxDevicePixelRationumberHighest pixel ratio the canvas renders at.
2Extra class names for the container.
Inline styles for the container.



