reactbits.dev
Get started

Swirling psychedelic colors, dealt straight from the deck.

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

Start buildingBrowse components
9:41

Swirling psychedelic colors, dealt straight from the deck.

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

Start buildingBrowse components

Swirling psychedelic colors, dealt straight from the deck.

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

Get startedLearn more
Contrast
3.5
Lighting
0.4
Swirl
0.25
Speed
Rotation Speed
0
Scale
Detail
5
Pixel Size
1.5
CRT
0
Mouse Strength

More backgrounds in Pro

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

View all 106
22 properties
color1'#DE443B'Main paint color.
color2'#006BB4'Second paint color, swirled into the first.
color3'#162325'Color of the gaps between the two paints.
contrast3.5How sharply the paints separate. Lower values blend them into soft washes.
lighting0.4Strength of the glossy highlights on the paint.
swirl0.25How tightly the paint spirals around the center, from 0 to 1.
speedHow fast the paint flows. 0 freezes it.
rotationSpeedTurns the whole swirl continuously. Negative values turn it the other way.
scaleSize of the paint shapes. Higher values zoom in.
detail5How many times the paint folds over itself, from 1 to 8. Higher values add finer streaks.
offset[number, number][0, 0]Moves the center of the swirl, as a fraction of the container diagonal.
pixelSize1.5Size of the pixels in CSS pixels. 0 renders it smooth.
crtAdds the scanlines and soft edge falloff of an old CRT screen, from 0 to 1.
mouseInteractionThe cursor stirs the paint and steers the swirl.
mouseStrengthHow strongly the cursor drags the paint along.
clickSwirlClicking spins the paint into a whirlpool that slowly unwinds.
The swirl spins into place on mount.
lightModeLightens the gaps between the paints so it sits on light pages.
opacityOverall opacity, from 0 to 1.
maxDevicePixelRatio2Highest pixel ratio the canvas renders at.
Extra class names for the container.
Inline styles for the container.
color1string

Main paint color.

Default'#DE443B'
color2string

Second paint color, swirled into the first.

Default'#006BB4'
color3string

Color of the gaps between the two paints.

Default'#162325'
contrastnumber

How sharply the paints separate. Lower values blend them into soft washes.

Default3.5
lightingnumber

Strength of the glossy highlights on the paint.

Default0.4
swirlnumber

How tightly the paint spirals around the center, from 0 to 1.

Default0.25
speednumber

How fast the paint flows. 0 freezes it.

rotationSpeednumber

Turns the whole swirl continuously. Negative values turn it the other way.

scalenumber

Size of the paint shapes. Higher values zoom in.

detailnumber

How many times the paint folds over itself, from 1 to 8. Higher values add finer streaks.

Default5
offset[number, number]

Moves the center of the swirl, as a fraction of the container diagonal.

Default[0, 0]
pixelSizenumber

Size of the pixels in CSS pixels. 0 renders it smooth.

Default1.5
crtnumber

Adds the scanlines and soft edge falloff of an old CRT screen, from 0 to 1.

mouseInteractionboolean

The cursor stirs the paint and steers the swirl.

mouseStrengthnumber

How strongly the cursor drags the paint along.

clickSwirlboolean

Clicking spins the paint into a whirlpool that slowly unwinds.

introboolean

The swirl spins into place on mount.

lightModeboolean

Lightens the gaps between the paints so it sits on light pages.

opacitynumber

Overall opacity, from 0 to 1.

maxDevicePixelRationumber

Highest pixel ratio the canvas renders at.

Default2

Extra class names for the container.

Inline styles for the container.