
Oh, the weather outside is frightful!
React Bits brings motion and character to your interface, one copy-paste component at a time.

Oh, the weather outside is frightful!
React Bits brings motion and character to your interface, one copy-paste component at a time.
Oh, the weather outside is frightful!
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 | '#ffffff' | Color of the snow. | |
variant | 'snowflake' | 'square' | 'round' | 'snowflake' | Shape of the flakes: pixel crystals, square pixels or round pixels. |
density | 0.5 | How much snow is falling, from 0 to 1. | |
speed | How fast the snow falls. Negative values make it rise. | ||
wind | 0.25 | Sideways drift. Negative values blow to the left. | |
sway | 0.5 | How much each flake swings as it falls. | |
flakeSize | Size of the flakes, from 0 for mostly tiny specks to 2 for mostly large crystals. | ||
pixelSize | 3 | Size of one snow pixel in px. | |
depth | 0.6 | How strongly far flakes fall slower and dimmer than near ones, from 0 to 1. | |
brightness | Overall brightness of the snow. | ||
glow | 0.8 | Strength of the soft light around each flake. | |
twinkle | 0.35 | How often flakes catch the light and sparkle, from 0 to 1. | |
accumulate | Lets the snow pile up in soft drifts along the bottom edge. | ||
mouseInteraction | Lets the cursor brush the snow aside and stir it as it moves. | ||
| Lets the snow drift in from the top on mount. | |||
fade | Fades the edges into the page, from 0 to 1. | ||
opacity | Opacity of the whole effect. | ||
lightMode | Draws the snow as colored pixels for light backgrounds. | ||
paused | Freezes the snow in place. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. |
colorstringColor of the snow.
'#ffffff'variant'snowflake' | 'square' | 'round'Shape of the flakes: pixel crystals, square pixels or round pixels.
'snowflake'densitynumberHow much snow is falling, from 0 to 1.
0.5speednumberHow fast the snow falls. Negative values make it rise.
windnumberSideways drift. Negative values blow to the left.
0.25swaynumberHow much each flake swings as it falls.
0.5flakeSizenumberSize of the flakes, from 0 for mostly tiny specks to 2 for mostly large crystals.
pixelSizenumberSize of one snow pixel in px.
3depthnumberHow strongly far flakes fall slower and dimmer than near ones, from 0 to 1.
0.6brightnessnumberOverall brightness of the snow.
glownumberStrength of the soft light around each flake.
0.8twinklenumberHow often flakes catch the light and sparkle, from 0 to 1.
0.35accumulatebooleanLets the snow pile up in soft drifts along the bottom edge.
mouseInteractionbooleanLets the cursor brush the snow aside and stir it as it moves.
introbooleanLets the snow drift in from the top on mount.
fadenumberFades the edges into the page, from 0 to 1.
opacitynumberOpacity of the whole effect.
lightModebooleanDraws the snow as colored pixels for light backgrounds.
pausedbooleanFreezes the snow in place.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.



