
It's dangerous to go alone! Take this.
React Bits brings motion and character to your interface, one copy-paste component at a time.

It's dangerous to go alone! Take this.
React Bits brings motion and character to your interface, one copy-paste component at a time.
It's dangerous to go alone! Take this.
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.
color | '#B497CF' | Color of the pixels. | |
accentColor | color | Color the densest areas, ripples and the area under the cursor shift toward. | |
variant | 'square' | 'circle' | 'triangle' | 'diamond' | 'cross' | 'ring' | 'square' | Shape of each pixel. |
pixelSize | 3 | Size of each pixel, in px. | |
patternScale | 2 | Zoom of the cloud pattern. Higher values make smaller, busier clouds. | |
patternDensity | How many pixels light up. Higher values fill more of the area. | ||
pixelSizeJitter | Random size variation between pixels, from 0 to 1. | ||
softness | 0.6 | Lets pixels grow and shrink smoothly as the pattern moves, instead of popping on and off. | |
smoothing | Smooths the edges of the clouds. 0 keeps the original blocky steps. | ||
glow | 0.4 | Soft light behind the densest areas, and a hot core in ripples. | |
twinkle | 0.25 | Lets pixels shimmer at their own pace, from 0 to 1. | |
speed | 0.5 | How fast the clouds change shape. | |
drift | 0.2 | How fast the clouds slide across the area. 0 keeps them in place. | |
driftAngle | 30 | Direction of the drift, in degrees. | |
hoverEffect | 'reveal' | 'grow' | 'none' | 'reveal' | What the cursor does: light up more pixels around it, or make nearby pixels swell and brighten. |
hoverRadius | 140 | Size of the area the cursor affects, in px. | |
enableRipples | Clicking sends a ring of pixels out from the click. | ||
rippleSpeed | 0.3 | How fast ripples spread. | |
rippleThickness | 0.1 | Width of the ripple ring. | |
rippleIntensityScale | Brightness of ripples. | ||
autoRipple | Sends a ripple from a random spot about this many seconds apart. 0 turns it off. | ||
tiltX | Tilts the pixels back into a floor that fades toward the horizon, in degrees. | ||
tiltY | Turns the pixels sideways in perspective, in degrees. | ||
edgeFade | 0.5 | Fades the pixels out toward the edges, from 0 to 1. | |
| Blasts the pixels out from the center in a ring on mount. | |||
noiseAmount | Film grain on the pixels. | ||
transparent | Shows the page behind the pixels. Turn off for a solid black, or white in light mode, backdrop. | ||
lightMode | Darkens hot pixels instead of brightening them, for light pages. | ||
variation | random | Picks a fixed pattern. Leave it out for a different one on every mount. | |
autoPauseOffscreen | Stops rendering while the background is scrolled out of view. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
colorstringColor of the pixels.
'#B497CF'accentColorstringColor the densest areas, ripples and the area under the cursor shift toward.
colorvariant'square' | 'circle' | 'triangle' | 'diamond' | 'cross' | 'ring'Shape of each pixel.
'square'pixelSizenumberSize of each pixel, in px.
3patternScalenumberZoom of the cloud pattern. Higher values make smaller, busier clouds.
2patternDensitynumberHow many pixels light up. Higher values fill more of the area.
pixelSizeJitternumberRandom size variation between pixels, from 0 to 1.
softnessnumberLets pixels grow and shrink smoothly as the pattern moves, instead of popping on and off.
0.6smoothingnumberSmooths the edges of the clouds. 0 keeps the original blocky steps.
glownumberSoft light behind the densest areas, and a hot core in ripples.
0.4twinklenumberLets pixels shimmer at their own pace, from 0 to 1.
0.25speednumberHow fast the clouds change shape.
0.5driftnumberHow fast the clouds slide across the area. 0 keeps them in place.
0.2driftAnglenumberDirection of the drift, in degrees.
30hoverEffect'reveal' | 'grow' | 'none'What the cursor does: light up more pixels around it, or make nearby pixels swell and brighten.
'reveal'hoverRadiusnumberSize of the area the cursor affects, in px.
140enableRipplesbooleanClicking sends a ring of pixels out from the click.
rippleSpeednumberHow fast ripples spread.
0.3rippleThicknessnumberWidth of the ripple ring.
0.1rippleIntensityScalenumberBrightness of ripples.
autoRipplenumberSends a ripple from a random spot about this many seconds apart. 0 turns it off.
tiltXnumberTilts the pixels back into a floor that fades toward the horizon, in degrees.
tiltYnumberTurns the pixels sideways in perspective, in degrees.
edgeFadenumberFades the pixels out toward the edges, from 0 to 1.
0.5introbooleanBlasts the pixels out from the center in a ring on mount.
noiseAmountnumberFilm grain on the pixels.
transparentbooleanShows the page behind the pixels. Turn off for a solid black, or white in light mode, backdrop.
lightModebooleanDarkens hot pixels instead of brightening them, for light pages.
variationnumberPicks a fixed pattern. Leave it out for a different one on every mount.
randomautoPauseOffscreenbooleanStops rendering while the background is scrolled out of view.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.
Inline styles for the container.



