reactbits.dev
Get started

Let the light rain down

React Bits brings motion and character to your interface, one copy-paste component at a time.

Start buildingBrowse components
9:41

Let the light rain down

React Bits brings motion and character to your interface, one copy-paste component at a time.

Start buildingBrowse components

Let the light rain down

React Bits brings motion and character to your interface, one copy-paste component at a time.

Get startedLearn more
Colors
Speed
0.3
Streak Count
2
Streak Width
0.8
Streak Length
Density
0.6
Twinkle
0.3
Glow
Background Glow
0.1
Head Glow
0.6
Depth
0.5
Bloom
0.35
Zoom
3
Cursor Strength
0.4
Cursor Radius
0.45
Lens
0.5
Fade
0

More backgrounds in Pro

Shader scenes and animated surfaces made to sit behind real content.

View all 106
29 properties
colorsstring[]['#ffffff']Colors of the falling streaks, up to 8. Each streak picks one.
backgroundColor'#94a3b8'Color of the soft light glowing at the top, where the streaks come from.
speed0.3How fast the streaks fall.
streakCount2Layers of streaks, from 1 to 16. More layers fill the tunnel.
streakWidth0.8Thickness of the streaks.
streakLengthLength of the glowing tails.
density0.6How closely the streaks follow each other down the tunnel.
twinkle0.3How much the streaks flicker, from 0 to 1.
glowOverall brightness.
backgroundGlow0.1Brightness of the soft light at the top. 0 turns it off.
headGlow0.6How white-hot the leading tips burn, from 0 to 1.
depth0.5Dims streaks deep in the tunnel so the near ones stand out.
bloom0.35Soft glow around the brightest tips.
zoom3Field of view into the tunnel. Higher values zoom further in.
opacityOpacity of the whole effect.
mouseInteractionThe cursor bends the falling light like a lens and brightens the streaks near it.
mouseStrength0.4How much the cursor brightens nearby streaks.
mouseRadius0.45Reach of the cursor light.
mouseDampening0.15How long the cursor light takes to catch up, in seconds. 0 follows instantly.
lens0.5How strongly the cursor bends the streaks.
holdToWarpHolding the pointer down speeds the streaks up into warp trails.
The light arrives at warp speed and slows to a steady fall.
fadeFades the edges into the page, from 0 to 1.
lightModeDraws the streaks as colored light on a white background.
mixBlendModeundefinedCSS blend mode for the canvas, such as screen or lighten.
pausedFreezes the animation.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
Inline styles for the container.
colorsstring[]

Colors of the falling streaks, up to 8. Each streak picks one.

Default['#ffffff']
backgroundColorstring

Color of the soft light glowing at the top, where the streaks come from.

Default'#94a3b8'
speednumber

How fast the streaks fall.

Default0.3
streakCountnumber

Layers of streaks, from 1 to 16. More layers fill the tunnel.

Default2
streakWidthnumber

Thickness of the streaks.

Default0.8
streakLengthnumber

Length of the glowing tails.

densitynumber

How closely the streaks follow each other down the tunnel.

Default0.6
twinklenumber

How much the streaks flicker, from 0 to 1.

Default0.3
glownumber

Overall brightness.

backgroundGlownumber

Brightness of the soft light at the top. 0 turns it off.

Default0.1
headGlownumber

How white-hot the leading tips burn, from 0 to 1.

Default0.6
depthnumber

Dims streaks deep in the tunnel so the near ones stand out.

Default0.5
bloomnumber

Soft glow around the brightest tips.

Default0.35
zoomnumber

Field of view into the tunnel. Higher values zoom further in.

Default3
opacitynumber

Opacity of the whole effect.

mouseInteractionboolean

The cursor bends the falling light like a lens and brightens the streaks near it.

mouseStrengthnumber

How much the cursor brightens nearby streaks.

Default0.4
mouseRadiusnumber

Reach of the cursor light.

Default0.45
mouseDampeningnumber

How long the cursor light takes to catch up, in seconds. 0 follows instantly.

Default0.15
lensnumber

How strongly the cursor bends the streaks.

Default0.5
holdToWarpboolean

Holding the pointer down speeds the streaks up into warp trails.

introboolean

The light arrives at warp speed and slows to a steady fall.

fadenumber

Fades the edges into the page, from 0 to 1.

lightModeboolean

Draws the streaks as colored light on a white background.

mixBlendModestring

CSS blend mode for the canvas, such as screen or lighten.

Defaultundefined
pausedboolean

Freezes the animation.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.

Inline styles for the container.