
Defy gravity with every move.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Defy gravity with every move.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Defy gravity with every move.
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'] | Palette the particles are colored from. How it is spread depends on colorMode. |
color | A single color for every particle. Overrides colors when set. | ||
colorMode | 'conic' | 'radial' | 'random' | 'conic' | Spreads the palette around the cursor, outward from the ring, or gives each particle a random color from it. |
colorSpeed | 0.05 | How fast the conic palette turns around the cursor. 0 keeps it still. | |
particleShape | 'capsule' | 'sphere' | 'box' | 'tetrahedron' | 'capsule' | Shape of the particles. Capsules stretch into dashes that point at the cursor. |
count | 1500 | Number of particles in the field. | |
particleSize | 0.9 | Size of the particles. | |
particleVariance | How much each particle pulses in size, from 0 to 1. | ||
magnetRadius | 9 | Size of the area around the cursor whose particles get pulled into the ring. | |
ringRadius | 7 | Radius of the ring the particles form. | |
fieldStrength | 10 | How tightly the particles line up on the ring. Lower values spread them into a wider band. | |
waveAmplitude | How much the ring ripples. 0 gives a clean circle. | ||
waveCount | 3 | Number of ripples around the ring. Pair with a high waveAmplitude for a flower shape. | |
waveSpeed | 0.4 | How fast the ripples travel around the ring. | |
rotationSpeed | How fast the particles orbit the cursor. Negative values orbit the other way. | ||
pulseSpeed | 3 | How fast the particles pulse in size. | |
depthFactor | Strength of the 3D depth. Particles in front grow, particles behind shrink and soften. | ||
ambient | 0.25 | How visible the particles away from the ring are, from 0 to 1. | |
lerpSpeed | 0.05 | How quickly the particles follow the cursor. Lower values leave longer trails. | |
autoAnimate | The ring drifts around on its own after a couple of seconds without cursor movement. | ||
interactive | The ring follows the cursor or finger. Turn off for a purely ambient background. | ||
clickBurst | Pressing pulls the ring in and spins it faster. Releasing blasts the particles outward. | ||
| The particles float up into place on mount. | |||
lightMode | Deepens pale colors so the particles stay visible on light backgrounds. | ||
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. |
colorsstring[]Palette the particles are colored from. How it is spread depends on colorMode.
['#5227FF', '#FF9FFC', '#B497CF']colorstringA single color for every particle. Overrides colors when set.
colorMode'conic' | 'radial' | 'random'Spreads the palette around the cursor, outward from the ring, or gives each particle a random color from it.
'conic'colorSpeednumberHow fast the conic palette turns around the cursor. 0 keeps it still.
0.05particleShape'capsule' | 'sphere' | 'box' | 'tetrahedron'Shape of the particles. Capsules stretch into dashes that point at the cursor.
'capsule'countnumberNumber of particles in the field.
1500particleSizenumberSize of the particles.
0.9particleVariancenumberHow much each particle pulses in size, from 0 to 1.
magnetRadiusnumberSize of the area around the cursor whose particles get pulled into the ring.
9ringRadiusnumberRadius of the ring the particles form.
7fieldStrengthnumberHow tightly the particles line up on the ring. Lower values spread them into a wider band.
10waveAmplitudenumberHow much the ring ripples. 0 gives a clean circle.
waveCountnumberNumber of ripples around the ring. Pair with a high waveAmplitude for a flower shape.
3waveSpeednumberHow fast the ripples travel around the ring.
0.4rotationSpeednumberHow fast the particles orbit the cursor. Negative values orbit the other way.
pulseSpeednumberHow fast the particles pulse in size.
3depthFactornumberStrength of the 3D depth. Particles in front grow, particles behind shrink and soften.
ambientnumberHow visible the particles away from the ring are, from 0 to 1.
0.25lerpSpeednumberHow quickly the particles follow the cursor. Lower values leave longer trails.
0.05autoAnimatebooleanThe ring drifts around on its own after a couple of seconds without cursor movement.
interactivebooleanThe ring follows the cursor or finger. Turn off for a purely ambient background.
clickBurstbooleanPressing pulls the ring in and spins it faster. Releasing blasts the particles outward.
introbooleanThe particles float up into place on mount.
lightModebooleanDeepens pale colors so the particles stay visible on light backgrounds.
opacitynumberOverall opacity, from 0 to 1.
maxDevicePixelRationumberHighest pixel ratio the canvas renders at.
2Extra class names for the container.
Inline styles for the container.



