
Lines that flow like silk.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Lines that flow like silk.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Lines that flow like silk.
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 | '#ffffff' | First color the lines blend through. |
color2 | '#ffffff' | Second color the lines blend through. |
color3 | '#ffffff' | Third color the lines blend through. |
colorCycleSpeed | How fast the colors drift across the lines. 0 keeps them in place. | |
speed | 0.3 | How fast the waves flow. 0 freezes them. |
lineCount | 72 | Number of lines across the height of the container. |
lineWidth | 1.3 | Thickness of the lines, in px. |
glow | 0.6 | Strength of the soft glow around each line. |
brightness | Overall brightness of the lines. | |
highlight | Strength of the band of light that drifts through the lines, from 0 to 1. At 0 every line is lit evenly. | |
highlightWidth | Width of the band of light. Higher values light more lines at once. | |
warpIntensity | How strongly the lines bend into waves. | |
warpScale | Size of the waves. Higher values give broad, sweeping curves. | |
rotation | -33 | Angle of the lines, in degrees. |
edgeFade | Fades the lines out toward the edges of the container, from 0 to 1. | |
enableMouseInteraction | The lines spread apart and light up around the cursor. | |
mouseInfluence | 2 | How strongly the lines react to the cursor. |
clickRipple | Clicking sends a smooth wave rolling out through the lines. | |
| The lines draw in across the container on mount. | ||
lightMode | Draws the lines as ink for light backgrounds. Colors turn into deeper inks of the same hue. | |
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. |
color1stringFirst color the lines blend through.
'#ffffff'color2stringSecond color the lines blend through.
'#ffffff'color3stringThird color the lines blend through.
'#ffffff'colorCycleSpeednumberHow fast the colors drift across the lines. 0 keeps them in place.
speednumberHow fast the waves flow. 0 freezes them.
0.3lineCountnumberNumber of lines across the height of the container.
72lineWidthnumberThickness of the lines, in px.
1.3glownumberStrength of the soft glow around each line.
0.6brightnessnumberOverall brightness of the lines.
highlightnumberStrength of the band of light that drifts through the lines, from 0 to 1. At 0 every line is lit evenly.
highlightWidthnumberWidth of the band of light. Higher values light more lines at once.
warpIntensitynumberHow strongly the lines bend into waves.
warpScalenumberSize of the waves. Higher values give broad, sweeping curves.
rotationnumberAngle of the lines, in degrees.
-33edgeFadenumberFades the lines out toward the edges of the container, from 0 to 1.
enableMouseInteractionbooleanThe lines spread apart and light up around the cursor.
mouseInfluencenumberHow strongly the lines react to the cursor.
2clickRipplebooleanClicking sends a smooth wave rolling out through the lines.
introbooleanThe lines draw in across the container on mount.
lightModebooleanDraws the lines as ink for light backgrounds. Colors turn into deeper inks of the same hue.
opacitynumberOverall opacity, from 0 to 1.
maxDevicePixelRationumberHighest pixel ratio the canvas renders at.
2Extra class names for the container.
Inline styles for the container.



