reactbits.dev
Get started

Defy gravity with every move.

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

Start buildingBrowse components
9:41

Defy gravity with every move.

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

Start buildingBrowse components

Defy gravity with every move.

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

Get startedLearn more
Colors
Color Speed
0.05
Count
1500
Particle Size
0.9
Particle Variance
Magnet Radius
9
Ring Radius
7
Field Strength
10
Wave Amplitude
Wave Count
3
Wave Speed
0.4
Rotation Speed
0
Pulse Speed
3
Depth Factor
Ambient
0.25
Lerp Speed
0.05

More backgrounds in Pro

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

View all 106
28 properties
colorsstring[]['#5227FF', '#FF9FFC', '#B497CF']Palette the particles are colored from. How it is spread depends on colorMode.
colorA 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.
colorSpeed0.05How 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.
count1500Number of particles in the field.
particleSize0.9Size of the particles.
particleVarianceHow much each particle pulses in size, from 0 to 1.
magnetRadius9Size of the area around the cursor whose particles get pulled into the ring.
ringRadius7Radius of the ring the particles form.
fieldStrength10How tightly the particles line up on the ring. Lower values spread them into a wider band.
waveAmplitudeHow much the ring ripples. 0 gives a clean circle.
waveCount3Number of ripples around the ring. Pair with a high waveAmplitude for a flower shape.
waveSpeed0.4How fast the ripples travel around the ring.
rotationSpeedHow fast the particles orbit the cursor. Negative values orbit the other way.
pulseSpeed3How fast the particles pulse in size.
depthFactorStrength of the 3D depth. Particles in front grow, particles behind shrink and soften.
ambient0.25How visible the particles away from the ring are, from 0 to 1.
lerpSpeed0.05How quickly the particles follow the cursor. Lower values leave longer trails.
autoAnimateThe ring drifts around on its own after a couple of seconds without cursor movement.
interactiveThe ring follows the cursor or finger. Turn off for a purely ambient background.
clickBurstPressing pulls the ring in and spins it faster. Releasing blasts the particles outward.
The particles float up into place on mount.
lightModeDeepens pale colors so the particles stay visible on light backgrounds.
opacityOverall opacity, from 0 to 1.
maxDevicePixelRatio2Highest 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.

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

A 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.

Default'conic'
colorSpeednumber

How fast the conic palette turns around the cursor. 0 keeps it still.

Default0.05
particleShape'capsule' | 'sphere' | 'box' | 'tetrahedron'

Shape of the particles. Capsules stretch into dashes that point at the cursor.

Default'capsule'
countnumber

Number of particles in the field.

Default1500
particleSizenumber

Size of the particles.

Default0.9
particleVariancenumber

How much each particle pulses in size, from 0 to 1.

magnetRadiusnumber

Size of the area around the cursor whose particles get pulled into the ring.

Default9
ringRadiusnumber

Radius of the ring the particles form.

Default7
fieldStrengthnumber

How tightly the particles line up on the ring. Lower values spread them into a wider band.

Default10
waveAmplitudenumber

How much the ring ripples. 0 gives a clean circle.

waveCountnumber

Number of ripples around the ring. Pair with a high waveAmplitude for a flower shape.

Default3
waveSpeednumber

How fast the ripples travel around the ring.

Default0.4
rotationSpeednumber

How fast the particles orbit the cursor. Negative values orbit the other way.

pulseSpeednumber

How fast the particles pulse in size.

Default3
depthFactornumber

Strength of the 3D depth. Particles in front grow, particles behind shrink and soften.

ambientnumber

How visible the particles away from the ring are, from 0 to 1.

Default0.25
lerpSpeednumber

How quickly the particles follow the cursor. Lower values leave longer trails.

Default0.05
autoAnimateboolean

The ring drifts around on its own after a couple of seconds without cursor movement.

interactiveboolean

The ring follows the cursor or finger. Turn off for a purely ambient background.

clickBurstboolean

Pressing pulls the ring in and spins it faster. Releasing blasts the particles outward.

introboolean

The particles float up into place on mount.

lightModeboolean

Deepens pale colors so the particles stay visible on light backgrounds.

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.