reactbits.dev
Get started

A burst of color, refracted from the core

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

Start buildingBrowse components
9:41

A burst of color, refracted from the core

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

Start buildingBrowse components

A burst of color, refracted from the core

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

Get startedLearn more
Colors
Intensity
2
Speed
0.5
Zoom
Ray Width
Ray Count
0
Distort
0
Twist
0
Flow
0
Center Fade
Glow
0
Grain
0.8
Cursor Strength
0.5
Cursor Smoothing
0.25
Fade
0

More backgrounds in Pro

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

View all 106
28 properties
colorsstring[]undefinedColors blended through the rays, up to 64. Leave empty for a full spectrum.
intensity2Overall brightness of the rays.
speed0.5How fast the burst turns and shifts.
animationType"rotate" | "rotate3d" | "hover""rotate3d"Flat rotation, full 3D rotation, or a burst that turns to follow the cursor.
zoomHow close the burst is. Higher values zoom in.
rayWidthThickness of the rays, from thin threads to broad beams.
rayCountSplits the light into this many evenly spaced spokes. 0 keeps it organic.
distortBends the rays into flowing, organic shapes.
twistSwirls the rays into a spiral. Negative values turn the other way.
flowStreams the colors through the burst. Negative values reverse the direction.
centerFadeSize of the dark core at the heart of the burst, from 0.5 to 3.
glowSoft bloom around the brightest rays.
grain0.8Film grain over the light, from 0.3 to 1.
offset{ x?: number | string; y?: number | string }{ x: 0, y: 0 }Moves the center of the burst, in pixels. Positive y moves it up.
mouseInteractionThe burst leans toward the cursor and the rays near it brighten.
mouseStrength0.5How strongly the burst reacts to the cursor.
hoverDampness0.25How smoothly the burst follows the cursor, from 0 to 1. Higher values feel heavier.
clickBurstClicking sends a wave of light racing out along the rays.
The burst ignites from the center when it mounts.
fadeFades the edges into the page, from 0 to 1.
quality"low" | "medium" | "high""high"Render resolution. Lower settings are lighter on slower devices.
resolutionundefinedExact render scale from 0.2 to 1. Overrides quality.
lightModeDraws the burst as colored ink on a white background.
mixBlendModeundefinedCSS blend mode for the canvas, such as screen or lighten.
pausedFreezes the animation.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
Inline styles for the container.
colorsstring[]

Colors blended through the rays, up to 64. Leave empty for a full spectrum.

Defaultundefined
intensitynumber

Overall brightness of the rays.

Default2
speednumber

How fast the burst turns and shifts.

Default0.5
animationType"rotate" | "rotate3d" | "hover"

Flat rotation, full 3D rotation, or a burst that turns to follow the cursor.

Default"rotate3d"
zoomnumber

How close the burst is. Higher values zoom in.

rayWidthnumber

Thickness of the rays, from thin threads to broad beams.

rayCountnumber

Splits the light into this many evenly spaced spokes. 0 keeps it organic.

distortnumber

Bends the rays into flowing, organic shapes.

twistnumber

Swirls the rays into a spiral. Negative values turn the other way.

flownumber

Streams the colors through the burst. Negative values reverse the direction.

centerFadenumber

Size of the dark core at the heart of the burst, from 0.5 to 3.

glownumber

Soft bloom around the brightest rays.

grainnumber

Film grain over the light, from 0.3 to 1.

Default0.8
offset{ x?: number | string; y?: number | string }

Moves the center of the burst, in pixels. Positive y moves it up.

Default{ x: 0, y: 0 }
mouseInteractionboolean

The burst leans toward the cursor and the rays near it brighten.

mouseStrengthnumber

How strongly the burst reacts to the cursor.

Default0.5
hoverDampnessnumber

How smoothly the burst follows the cursor, from 0 to 1. Higher values feel heavier.

Default0.25
clickBurstboolean

Clicking sends a wave of light racing out along the rays.

introboolean

The burst ignites from the center when it mounts.

fadenumber

Fades the edges into the page, from 0 to 1.

quality"low" | "medium" | "high"

Render resolution. Lower settings are lighter on slower devices.

Default"high"
resolutionnumber

Exact render scale from 0.2 to 1. Overrides quality.

Defaultundefined
lightModeboolean

Draws the burst as colored ink on a white background.

mixBlendModestring

CSS blend mode for the canvas, such as screen or lighten.

Defaultundefined
pausedboolean

Freezes the animation.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.

Inline styles for the container.