
Swirling psychedelic colors, dealt straight from the deck.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Swirling psychedelic colors, dealt straight from the deck.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Swirling psychedelic colors, dealt straight from the deck.
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.
color1 | '#DE443B' | Main paint color. | |
color2 | '#006BB4' | Second paint color, swirled into the first. | |
color3 | '#162325' | Color of the gaps between the two paints. | |
contrast | 3.5 | How sharply the paints separate. Lower values blend them into soft washes. | |
lighting | 0.4 | Strength of the glossy highlights on the paint. | |
swirl | 0.25 | How tightly the paint spirals around the center, from 0 to 1. | |
speed | How fast the paint flows. 0 freezes it. | ||
rotationSpeed | Turns the whole swirl continuously. Negative values turn it the other way. | ||
scale | Size of the paint shapes. Higher values zoom in. | ||
detail | 5 | How 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. |
pixelSize | 1.5 | Size of the pixels in CSS pixels. 0 renders it smooth. | |
crt | Adds the scanlines and soft edge falloff of an old CRT screen, from 0 to 1. | ||
mouseInteraction | The cursor stirs the paint and steers the swirl. | ||
mouseStrength | How strongly the cursor drags the paint along. | ||
clickSwirl | Clicking spins the paint into a whirlpool that slowly unwinds. | ||
| The swirl spins into place on mount. | |||
lightMode | Lightens the gaps between the paints so it sits on light pages. | ||
opacity | Overall opacity, from 0 to 1. | ||
maxDevicePixelRatio | 2 | Highest pixel ratio the canvas renders at. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
color1stringMain paint color.
'#DE443B'color2stringSecond paint color, swirled into the first.
'#006BB4'color3stringColor of the gaps between the two paints.
'#162325'contrastnumberHow sharply the paints separate. Lower values blend them into soft washes.
3.5lightingnumberStrength of the glossy highlights on the paint.
0.4swirlnumberHow tightly the paint spirals around the center, from 0 to 1.
0.25speednumberHow fast the paint flows. 0 freezes it.
rotationSpeednumberTurns the whole swirl continuously. Negative values turn it the other way.
scalenumberSize of the paint shapes. Higher values zoom in.
detailnumberHow many times the paint folds over itself, from 1 to 8. Higher values add finer streaks.
5offset[number, number]Moves the center of the swirl, as a fraction of the container diagonal.
[0, 0]pixelSizenumberSize of the pixels in CSS pixels. 0 renders it smooth.
1.5crtnumberAdds the scanlines and soft edge falloff of an old CRT screen, from 0 to 1.
mouseInteractionbooleanThe cursor stirs the paint and steers the swirl.
mouseStrengthnumberHow strongly the cursor drags the paint along.
clickSwirlbooleanClicking spins the paint into a whirlpool that slowly unwinds.
introbooleanThe swirl spins into place on mount.
lightModebooleanLightens the gaps between the paints so it sits on light pages.
opacitynumberOverall opacity, from 0 to 1.
maxDevicePixelRationumberHighest pixel ratio the canvas renders at.
2Extra class names for the container.
Inline styles for the container.



