
The web, made fluid at your fingertips.
React Bits brings motion and character to your interface, one copy-paste component at a time.

The web, made fluid at your fingertips.
React Bits brings motion and character to your interface, one copy-paste component at a time.
The web, made fluid at your fingertips.
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.
colors | string[] | ['#5227FF', '#FF9FFC', '#B497CF'] | Colors from slow to fast flow. Calm areas take the first color, the fastest currents the last. |
intensity | Brightness of the flow. | ||
mouseForce | 20 | How strongly the cursor pushes the liquid. | |
cursorSize | 100 | Size of the area the cursor stirs, in px. | |
persistence | 0.75 | How long the motion lingers before it settles, from 0 to 1. | |
viscosity | How thick the liquid is, from 0 to 1. Thicker liquid moves in broad, slow swirls. | ||
resolution | 0.5 | Detail of the simulation, from 0.1 to 1. Lower values are faster and softer. | |
autoDemo | Stirs the liquid on its own while the cursor is away. | ||
autoSpeed | 0.5 | Speed of the automatic stirring. | |
autoIntensity | 2.2 | Strength of the automatic stirring compared with the cursor. | |
autoResumeDelay | 1000 | Milliseconds without input before the automatic stirring resumes. | |
clickBurst | Clicking shoots a puff of liquid in the direction the cursor was moving. | ||
bounceEdges | The liquid bounces off the edges instead of flowing out of view. | ||
| A swirl sweeps out from the center on mount. | |||
lightMode | Renders the flow as soft ink for light backgrounds. | ||
backgroundColor | 'transparent' | Solid color behind the flow. Leave transparent to show the page through. | |
maxDevicePixelRatio | 2 | Highest pixel ratio the canvas renders at. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
colorsstring[]Colors from slow to fast flow. Calm areas take the first color, the fastest currents the last.
['#5227FF', '#FF9FFC', '#B497CF']intensitynumberBrightness of the flow.
mouseForcenumberHow strongly the cursor pushes the liquid.
20cursorSizenumberSize of the area the cursor stirs, in px.
100persistencenumberHow long the motion lingers before it settles, from 0 to 1.
0.75viscositynumberHow thick the liquid is, from 0 to 1. Thicker liquid moves in broad, slow swirls.
resolutionnumberDetail of the simulation, from 0.1 to 1. Lower values are faster and softer.
0.5autoDemobooleanStirs the liquid on its own while the cursor is away.
autoSpeednumberSpeed of the automatic stirring.
0.5autoIntensitynumberStrength of the automatic stirring compared with the cursor.
2.2autoResumeDelaynumberMilliseconds without input before the automatic stirring resumes.
1000clickBurstbooleanClicking shoots a puff of liquid in the direction the cursor was moving.
bounceEdgesbooleanThe liquid bounces off the edges instead of flowing out of view.
introbooleanA swirl sweeps out from the center on mount.
lightModebooleanRenders the flow as soft ink for light backgrounds.
backgroundColorstringSolid color behind the flow. Leave transparent to show the page through.
'transparent'maxDevicePixelRationumberHighest pixel ratio the canvas renders at.
2Extra class names for the container.
Inline styles for the container.



