reactbits.dev
Get started

Radiant beams for creative user interfaces

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

Start buildingBrowse components
9:41

Radiant beams for creative user interfaces

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

Start buildingBrowse components

Radiant beams for creative user interfaces

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

Get startedLearn more
Beam Width
140px
Rotation
30°
Wave Length
233px
Depth
Sharpness
0.6
Twist
0
Fill Light
0.3
Speed
Brightness
1.6
Glow
0.6
Grain
0.35
Variation
0
Mouse Strength
Fade
0
Opacity

More backgrounds in Pro

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

View all 106
24 properties
color'#ffffff'Color of the light that glints off the beams.
beamWidth140Width of each beam, in px.
rotation30Angle of the beams, in degrees.
speedHow fast the ripples move.
waveLength233Length of the ripples along each beam, in px.
depthHow deep the ripples are. Deeper ripples catch the light in more places.
sharpness0.6How crisp the glints are, from 0 for soft satin to 1 for sharp, glossy streaks.
twistTurns each beam slightly on its own axis, so glints show up on more beams.
fillLight0.3Strength of a dimmer second light from the other side, for fuller, more metallic beams.
brightness1.6Strength of the light.
glow0.6Soft glow around the brightest glints.
grain0.35Strength of the film grain, from 0 to 1.
variationPicks a different ripple pattern. Any number works.
mouseInteractionThe cursor moves the light along the beams and brightens the glints near it.
mouseStrengthHow strongly the cursor moves the light.
Sweeps the light in on mount.
fadeFades the edges into the page, from 0 to 1.
opacityOpacity of the whole effect.
lightModePrints the glints as soft ink, for light backgrounds.
backgroundColorundefinedOptional solid background. By default the canvas is transparent and the page shows through.
quality0.75Render resolution, from 0.25 to 1. Lower values run faster.
pausedFreezes the animation.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
colorstring

Color of the light that glints off the beams.

Default'#ffffff'
beamWidthnumber

Width of each beam, in px.

Default140
rotationnumber

Angle of the beams, in degrees.

Default30
speednumber

How fast the ripples move.

waveLengthnumber

Length of the ripples along each beam, in px.

Default233
depthnumber

How deep the ripples are. Deeper ripples catch the light in more places.

sharpnessnumber

How crisp the glints are, from 0 for soft satin to 1 for sharp, glossy streaks.

Default0.6
twistnumber

Turns each beam slightly on its own axis, so glints show up on more beams.

fillLightnumber

Strength of a dimmer second light from the other side, for fuller, more metallic beams.

Default0.3
brightnessnumber

Strength of the light.

Default1.6
glownumber

Soft glow around the brightest glints.

Default0.6
grainnumber

Strength of the film grain, from 0 to 1.

Default0.35
variationnumber

Picks a different ripple pattern. Any number works.

mouseInteractionboolean

The cursor moves the light along the beams and brightens the glints near it.

mouseStrengthnumber

How strongly the cursor moves the light.

introboolean

Sweeps the light in on mount.

fadenumber

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

opacitynumber

Opacity of the whole effect.

lightModeboolean

Prints the glints as soft ink, for light backgrounds.

backgroundColorstring

Optional solid background. By default the canvas is transparent and the page shows through.

Defaultundefined
qualitynumber

Render resolution, from 0.25 to 1. Lower values run faster.

Default0.75
pausedboolean

Freezes the animation.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.