
Waves of light, sliced and set in motion.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Waves of light, sliced and set in motion.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Waves of light, sliced and set in motion.
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.
color1 | '#ffd9a8' | First color of the light. |
color2 | '#ff5fa2' | Second color of the light. |
color3 | '#5b8cff' | Third color of the light. |
ribbons | 3 | Number of waves of light, from 1 to 6. |
spacing | 28 | Distance between the bars in the middle of the view, in px. |
barWidth | 0.5 | Width of each bar, as a share of the spacing. |
ribbonHeight | 0.26 | Height of each wave, as a fraction of the view height. |
spread | 0.1 | Vertical distance between the waves, as a fraction of the view height. |
amplitude | 0.1 | How far the waves rise and fall, as a fraction of the view height. |
frequency | How many waves fit across the view. | |
speed | Animation speed. Negative values reverse the waves. | |
perspective | 0.45 | How much the strip of bars turns away from you, from 0 to 1. |
curve | 0.5 | How much the strip bends in depth, from 0 to 1. |
blur | 0.6 | Depth of field. Bars away from the focus soften, and the focus follows the cursor. |
glow | Strength of the soft light around each bar. | |
brightness | 1.25 | Overall brightness. Where waves overlap, the light burns to white. |
position | 0.78 | Vertical position of the waves, from 0 at the top to 1 at the bottom. |
rotation | Rotation of the whole effect, in degrees. | |
slices | Cuts the bars into segments like an LED display. 0 keeps them solid. | |
grain | 0.08 | Strength of the film grain. |
mouseInteraction | Pulls the focus to the bars under the cursor and lights them up. | |
| Grows the bars in across the view on mount. | ||
fade | Fades the edges into the page, from 0 to 1. | |
opacity | Opacity of the whole effect. | |
lightMode | Draws the bars as colored ink for light backgrounds. | |
paused | Freezes the animation. | |
dpr | auto | Maximum device pixel ratio, capped at 2. |
| Extra class names for the container. |
color1stringFirst color of the light.
'#ffd9a8'color2stringSecond color of the light.
'#ff5fa2'color3stringThird color of the light.
'#5b8cff'ribbonsnumberNumber of waves of light, from 1 to 6.
3spacingnumberDistance between the bars in the middle of the view, in px.
28barWidthnumberWidth of each bar, as a share of the spacing.
0.5ribbonHeightnumberHeight of each wave, as a fraction of the view height.
0.26spreadnumberVertical distance between the waves, as a fraction of the view height.
0.1amplitudenumberHow far the waves rise and fall, as a fraction of the view height.
0.1frequencynumberHow many waves fit across the view.
speednumberAnimation speed. Negative values reverse the waves.
perspectivenumberHow much the strip of bars turns away from you, from 0 to 1.
0.45curvenumberHow much the strip bends in depth, from 0 to 1.
0.5blurnumberDepth of field. Bars away from the focus soften, and the focus follows the cursor.
0.6glownumberStrength of the soft light around each bar.
brightnessnumberOverall brightness. Where waves overlap, the light burns to white.
1.25positionnumberVertical position of the waves, from 0 at the top to 1 at the bottom.
0.78rotationnumberRotation of the whole effect, in degrees.
slicesnumberCuts the bars into segments like an LED display. 0 keeps them solid.
grainnumberStrength of the film grain.
0.08mouseInteractionbooleanPulls the focus to the bars under the cursor and lights them up.
introbooleanGrows the bars in across the view on mount.
fadenumberFades the edges into the page, from 0 to 1.
opacitynumberOpacity of the whole effect.
lightModebooleanDraws the bars as colored ink for light backgrounds.
pausedbooleanFreezes the animation.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.



