
Signals, sweeping quietly across the screen.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Signals, sweeping quietly across the screen.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Signals, sweeping quietly across the screen.
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 | '#5227FF' | Color of the resting lines. | |
color2 | '#FF9FFC' | Color the lines take as the scan lights them. | |
color3 | '#FFFFFF' | Color of the hot scan head itself. | |
speed | 0.5 | How fast the wave moves through the lines. | |
sweepSpeed | 0.25 | How fast the scan travels across. | |
sweepWidth | 1.6 | Distance between one scan and the next. Larger values leave longer dark gaps. | |
trail | 0.5 | Length of the afterglow the scan leaves behind, from 0 to 1. | |
reverse | Runs the scan in the opposite direction. | ||
scale | 1.5 | Zooms the whole pattern in or out. | |
frequency | 2 | How many waves fit across the field. | |
ripple | 0.22 | How tall the waves are. 0 keeps the lines straight. | |
bandDensity | 11 | How many lines fill the field. | |
lineWidth | 1.2 | Width of the resting lines, in px. Lit lines get thicker. | |
glow | 0.6 | Soft glow around the lit lines. | |
scanDirection | 'vertical' | 'horizontal' | 'diagonal' | 'vertical' | Direction the scan travels in. The lines run across it. |
colorSpread | 0.7 | Fine color fringes on the edges of lit lines, from 0 to 1. | |
brightness | Overall brightness of the lines. | ||
vignette | 0.3 | Fades the lines out toward the edges, from 0 to 1. | |
scanline | Turns on the CRT look: fine horizontal scanlines across the field. | ||
scanlineIntensity | 0.5 | How dark the scanlines are, from 0 to 1. | |
grain | Adds a little film grain. | ||
grainIntensity | 0.04 | Strength of the grain. | |
opacity | Overall opacity of the effect. | ||
mouseInteraction | The lines bend around the cursor and light up near it. | ||
mouseMode | 'repel' | 'attract' | 'repel' | Lines part around the cursor, or pinch in toward it. |
mouseRadius | 0.5 | Size of the area around the cursor. | |
mouseStrength | 0.7 | How strongly the cursor bends the lines. | |
clickEffect | 'ping' | 'none' | 'ping' | Clicking sends a ring of light rippling out through the lines. |
| The lines power on with a first scan on mount. | |||
lightMode | Draws the lines as crisp ink for light backgrounds instead of glowing light. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
color1stringColor of the resting lines.
'#5227FF'color2stringColor the lines take as the scan lights them.
'#FF9FFC'color3stringColor of the hot scan head itself.
'#FFFFFF'speednumberHow fast the wave moves through the lines.
0.5sweepSpeednumberHow fast the scan travels across.
0.25sweepWidthnumberDistance between one scan and the next. Larger values leave longer dark gaps.
1.6trailnumberLength of the afterglow the scan leaves behind, from 0 to 1.
0.5reversebooleanRuns the scan in the opposite direction.
scalenumberZooms the whole pattern in or out.
1.5frequencynumberHow many waves fit across the field.
2ripplenumberHow tall the waves are. 0 keeps the lines straight.
0.22bandDensitynumberHow many lines fill the field.
11lineWidthnumberWidth of the resting lines, in px. Lit lines get thicker.
1.2glownumberSoft glow around the lit lines.
0.6scanDirection'vertical' | 'horizontal' | 'diagonal'Direction the scan travels in. The lines run across it.
'vertical'colorSpreadnumberFine color fringes on the edges of lit lines, from 0 to 1.
0.7brightnessnumberOverall brightness of the lines.
vignettenumberFades the lines out toward the edges, from 0 to 1.
0.3scanlinebooleanTurns on the CRT look: fine horizontal scanlines across the field.
scanlineIntensitynumberHow dark the scanlines are, from 0 to 1.
0.5grainbooleanAdds a little film grain.
grainIntensitynumberStrength of the grain.
0.04opacitynumberOverall opacity of the effect.
mouseInteractionbooleanThe lines bend around the cursor and light up near it.
mouseMode'repel' | 'attract'Lines part around the cursor, or pinch in toward it.
'repel'mouseRadiusnumberSize of the area around the cursor.
0.5mouseStrengthnumberHow strongly the cursor bends the lines.
0.7clickEffect'ping' | 'none'Clicking sends a ring of light rippling out through the lines.
'ping'introbooleanThe lines power on with a first scan on mount.
lightModebooleanDraws the lines as crisp ink for light backgrounds instead of glowing light.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.
Inline styles for the container.



