reactbits.dev
Get started

Oh, the weather outside is frightful!

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

Start buildingBrowse components
9:41

Oh, the weather outside is frightful!

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

Start buildingBrowse components

Oh, the weather outside is frightful!

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

Get startedLearn more
Density
0.5
Speed
Wind
0.25
Sway
0.5
Flake Size
Pixel Size
3px
Depth
0.6
Brightness
Glow
0.8
Twinkle
0.35
Fade
0
Opacity

More backgrounds in Pro

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

View all 106
21 properties
color'#ffffff'Color of the snow.
variant'snowflake' | 'square' | 'round''snowflake'Shape of the flakes: pixel crystals, square pixels or round pixels.
density0.5How much snow is falling, from 0 to 1.
speedHow fast the snow falls. Negative values make it rise.
wind0.25Sideways drift. Negative values blow to the left.
sway0.5How much each flake swings as it falls.
flakeSizeSize of the flakes, from 0 for mostly tiny specks to 2 for mostly large crystals.
pixelSize3Size of one snow pixel in px.
depth0.6How strongly far flakes fall slower and dimmer than near ones, from 0 to 1.
brightnessOverall brightness of the snow.
glow0.8Strength of the soft light around each flake.
twinkle0.35How often flakes catch the light and sparkle, from 0 to 1.
accumulateLets the snow pile up in soft drifts along the bottom edge.
mouseInteractionLets the cursor brush the snow aside and stir it as it moves.
Lets the snow drift in from the top on mount.
fadeFades the edges into the page, from 0 to 1.
opacityOpacity of the whole effect.
lightModeDraws the snow as colored pixels for light backgrounds.
pausedFreezes the snow in place.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
colorstring

Color of the snow.

Default'#ffffff'
variant'snowflake' | 'square' | 'round'

Shape of the flakes: pixel crystals, square pixels or round pixels.

Default'snowflake'
densitynumber

How much snow is falling, from 0 to 1.

Default0.5
speednumber

How fast the snow falls. Negative values make it rise.

windnumber

Sideways drift. Negative values blow to the left.

Default0.25
swaynumber

How much each flake swings as it falls.

Default0.5
flakeSizenumber

Size of the flakes, from 0 for mostly tiny specks to 2 for mostly large crystals.

pixelSizenumber

Size of one snow pixel in px.

Default3
depthnumber

How strongly far flakes fall slower and dimmer than near ones, from 0 to 1.

Default0.6
brightnessnumber

Overall brightness of the snow.

glownumber

Strength of the soft light around each flake.

Default0.8
twinklenumber

How often flakes catch the light and sparkle, from 0 to 1.

Default0.35
accumulateboolean

Lets the snow pile up in soft drifts along the bottom edge.

mouseInteractionboolean

Lets the cursor brush the snow aside and stir it as it moves.

introboolean

Lets the snow drift in from the top on mount.

fadenumber

Fades the edges into the page, from 0 to 1.

opacitynumber

Opacity of the whole effect.

lightModeboolean

Draws the snow as colored pixels for light backgrounds.

pausedboolean

Freezes the snow in place.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.