reactbits.dev
Get started

The web, made fluid at your fingertips.

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

Start buildingBrowse components
9:41

The web, made fluid at your fingertips.

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

Start buildingBrowse components

The web, made fluid at your fingertips.

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

Get startedLearn more
Colors
Intensity
Mouse Force
20
Cursor Size
100px
Persistence
0.75
Viscosity
0
Resolution
0.5
Auto Speed
0.5
Auto Intensity
2.2

More backgrounds in Pro

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

View all 106
19 properties
colorsstring[]['#5227FF', '#FF9FFC', '#B497CF']Colors from slow to fast flow. Calm areas take the first color, the fastest currents the last.
intensityBrightness of the flow.
mouseForce20How strongly the cursor pushes the liquid.
cursorSize100Size of the area the cursor stirs, in px.
persistence0.75How long the motion lingers before it settles, from 0 to 1.
viscosityHow thick the liquid is, from 0 to 1. Thicker liquid moves in broad, slow swirls.
resolution0.5Detail of the simulation, from 0.1 to 1. Lower values are faster and softer.
autoDemoStirs the liquid on its own while the cursor is away.
autoSpeed0.5Speed of the automatic stirring.
autoIntensity2.2Strength of the automatic stirring compared with the cursor.
autoResumeDelay1000Milliseconds without input before the automatic stirring resumes.
clickBurstClicking shoots a puff of liquid in the direction the cursor was moving.
bounceEdgesThe liquid bounces off the edges instead of flowing out of view.
A swirl sweeps out from the center on mount.
lightModeRenders the flow as soft ink for light backgrounds.
backgroundColor'transparent'Solid color behind the flow. Leave transparent to show the page through.
maxDevicePixelRatio2Highest 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.

Default['#5227FF', '#FF9FFC', '#B497CF']
intensitynumber

Brightness of the flow.

mouseForcenumber

How strongly the cursor pushes the liquid.

Default20
cursorSizenumber

Size of the area the cursor stirs, in px.

Default100
persistencenumber

How long the motion lingers before it settles, from 0 to 1.

Default0.75
viscositynumber

How thick the liquid is, from 0 to 1. Thicker liquid moves in broad, slow swirls.

resolutionnumber

Detail of the simulation, from 0.1 to 1. Lower values are faster and softer.

Default0.5
autoDemoboolean

Stirs the liquid on its own while the cursor is away.

autoSpeednumber

Speed of the automatic stirring.

Default0.5
autoIntensitynumber

Strength of the automatic stirring compared with the cursor.

Default2.2
autoResumeDelaynumber

Milliseconds without input before the automatic stirring resumes.

Default1000
clickBurstboolean

Clicking shoots a puff of liquid in the direction the cursor was moving.

bounceEdgesboolean

The liquid bounces off the edges instead of flowing out of view.

introboolean

A swirl sweeps out from the center on mount.

lightModeboolean

Renders the flow as soft ink for light backgrounds.

backgroundColorstring

Solid color behind the flow. Leave transparent to show the page through.

Default'transparent'
maxDevicePixelRationumber

Highest pixel ratio the canvas renders at.

Default2

Extra class names for the container.

Inline styles for the container.