reactbits.dev
Get started

It's dangerous to go alone! Take this.

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

Start buildingBrowse components
9:41

It's dangerous to go alone! Take this.

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

Start buildingBrowse components

It's dangerous to go alone! Take this.

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

Get startedLearn more
Pixel Size
3px
Pattern Scale
2
Pattern Density
Pixel Jitter
0
Softness
0.6
Smoothing
Glow
0.4
Twinkle
0.25
Speed
0.5
Drift
0.2
Drift Angle
30°
Hover Radius
140px
Ripple Speed
0.3
Ripple Thickness
0.1
Ripple Intensity
Auto Ripple
0s
Tilt X
0°
Tilt Y
0°
Edge Fade
0.25

More backgrounds in Pro

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

View all 106
33 properties
color'#B497CF'Color of the pixels.
accentColorcolorColor the densest areas, ripples and the area under the cursor shift toward.
variant'square' | 'circle' | 'triangle' | 'diamond' | 'cross' | 'ring''square'Shape of each pixel.
pixelSize3Size of each pixel, in px.
patternScale2Zoom of the cloud pattern. Higher values make smaller, busier clouds.
patternDensityHow many pixels light up. Higher values fill more of the area.
pixelSizeJitterRandom size variation between pixels, from 0 to 1.
softness0.6Lets pixels grow and shrink smoothly as the pattern moves, instead of popping on and off.
smoothingSmooths the edges of the clouds. 0 keeps the original blocky steps.
glow0.4Soft light behind the densest areas, and a hot core in ripples.
twinkle0.25Lets pixels shimmer at their own pace, from 0 to 1.
speed0.5How fast the clouds change shape.
drift0.2How fast the clouds slide across the area. 0 keeps them in place.
driftAngle30Direction 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.
hoverRadius140Size of the area the cursor affects, in px.
enableRipplesClicking sends a ring of pixels out from the click.
rippleSpeed0.3How fast ripples spread.
rippleThickness0.1Width of the ripple ring.
rippleIntensityScaleBrightness of ripples.
autoRippleSends a ripple from a random spot about this many seconds apart. 0 turns it off.
tiltXTilts the pixels back into a floor that fades toward the horizon, in degrees.
tiltYTurns the pixels sideways in perspective, in degrees.
edgeFade0.5Fades the pixels out toward the edges, from 0 to 1.
Blasts the pixels out from the center in a ring on mount.
noiseAmountFilm grain on the pixels.
transparentShows the page behind the pixels. Turn off for a solid black, or white in light mode, backdrop.
lightModeDarkens hot pixels instead of brightening them, for light pages.
variationrandomPicks a fixed pattern. Leave it out for a different one on every mount.
autoPauseOffscreenStops rendering while the background is scrolled out of view.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
Inline styles for the container.
colorstring

Color of the pixels.

Default'#B497CF'
accentColorstring

Color the densest areas, ripples and the area under the cursor shift toward.

Defaultcolor
variant'square' | 'circle' | 'triangle' | 'diamond' | 'cross' | 'ring'

Shape of each pixel.

Default'square'
pixelSizenumber

Size of each pixel, in px.

Default3
patternScalenumber

Zoom of the cloud pattern. Higher values make smaller, busier clouds.

Default2
patternDensitynumber

How many pixels light up. Higher values fill more of the area.

pixelSizeJitternumber

Random size variation between pixels, from 0 to 1.

softnessnumber

Lets pixels grow and shrink smoothly as the pattern moves, instead of popping on and off.

Default0.6
smoothingnumber

Smooths the edges of the clouds. 0 keeps the original blocky steps.

glownumber

Soft light behind the densest areas, and a hot core in ripples.

Default0.4
twinklenumber

Lets pixels shimmer at their own pace, from 0 to 1.

Default0.25
speednumber

How fast the clouds change shape.

Default0.5
driftnumber

How fast the clouds slide across the area. 0 keeps them in place.

Default0.2
driftAnglenumber

Direction of the drift, in degrees.

Default30
hoverEffect'reveal' | 'grow' | 'none'

What the cursor does: light up more pixels around it, or make nearby pixels swell and brighten.

Default'reveal'
hoverRadiusnumber

Size of the area the cursor affects, in px.

Default140
enableRipplesboolean

Clicking sends a ring of pixels out from the click.

rippleSpeednumber

How fast ripples spread.

Default0.3
rippleThicknessnumber

Width of the ripple ring.

Default0.1
rippleIntensityScalenumber

Brightness of ripples.

autoRipplenumber

Sends a ripple from a random spot about this many seconds apart. 0 turns it off.

tiltXnumber

Tilts the pixels back into a floor that fades toward the horizon, in degrees.

tiltYnumber

Turns the pixels sideways in perspective, in degrees.

edgeFadenumber

Fades the pixels out toward the edges, from 0 to 1.

Default0.5
introboolean

Blasts the pixels out from the center in a ring on mount.

noiseAmountnumber

Film grain on the pixels.

transparentboolean

Shows the page behind the pixels. Turn off for a solid black, or white in light mode, backdrop.

lightModeboolean

Darkens hot pixels instead of brightening them, for light pages.

variationnumber

Picks a fixed pattern. Leave it out for a different one on every mount.

Defaultrandom
autoPauseOffscreenboolean

Stops rendering while the background is scrolled out of view.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.

Inline styles for the container.