
A burst of color, refracted from the core
React Bits brings motion and character to your interface, one copy-paste component at a time.

A burst of color, refracted from the core
React Bits brings motion and character to your interface, one copy-paste component at a time.
A burst of color, refracted from the core
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[] | undefined | Colors blended through the rays, up to 64. Leave empty for a full spectrum. |
intensity | 2 | Overall brightness of the rays. | |
speed | 0.5 | How 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. |
zoom | How close the burst is. Higher values zoom in. | ||
rayWidth | Thickness of the rays, from thin threads to broad beams. | ||
rayCount | Splits the light into this many evenly spaced spokes. 0 keeps it organic. | ||
distort | Bends the rays into flowing, organic shapes. | ||
twist | Swirls the rays into a spiral. Negative values turn the other way. | ||
flow | Streams the colors through the burst. Negative values reverse the direction. | ||
centerFade | Size of the dark core at the heart of the burst, from 0.5 to 3. | ||
glow | Soft bloom around the brightest rays. | ||
grain | 0.8 | Film 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. |
mouseInteraction | The burst leans toward the cursor and the rays near it brighten. | ||
mouseStrength | 0.5 | How strongly the burst reacts to the cursor. | |
hoverDampness | 0.25 | How smoothly the burst follows the cursor, from 0 to 1. Higher values feel heavier. | |
clickBurst | Clicking sends a wave of light racing out along the rays. | ||
| The burst ignites from the center when it mounts. | |||
fade | Fades the edges into the page, from 0 to 1. | ||
quality | "low" | "medium" | "high" | "high" | Render resolution. Lower settings are lighter on slower devices. |
resolution | undefined | Exact render scale from 0.2 to 1. Overrides quality. | |
lightMode | Draws the burst as colored ink on a white background. | ||
mixBlendMode | undefined | CSS blend mode for the canvas, such as screen or lighten. | |
paused | Freezes the animation. | ||
dpr | auto | Maximum 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.
undefinedintensitynumberOverall brightness of the rays.
2speednumberHow fast the burst turns and shifts.
0.5animationType"rotate" | "rotate3d" | "hover"Flat rotation, full 3D rotation, or a burst that turns to follow the cursor.
"rotate3d"zoomnumberHow close the burst is. Higher values zoom in.
rayWidthnumberThickness of the rays, from thin threads to broad beams.
rayCountnumberSplits the light into this many evenly spaced spokes. 0 keeps it organic.
distortnumberBends the rays into flowing, organic shapes.
twistnumberSwirls the rays into a spiral. Negative values turn the other way.
flownumberStreams the colors through the burst. Negative values reverse the direction.
centerFadenumberSize of the dark core at the heart of the burst, from 0.5 to 3.
glownumberSoft bloom around the brightest rays.
grainnumberFilm grain over the light, from 0.3 to 1.
0.8offset{ x?: number | string; y?: number | string }Moves the center of the burst, in pixels. Positive y moves it up.
{ x: 0, y: 0 }mouseInteractionbooleanThe burst leans toward the cursor and the rays near it brighten.
mouseStrengthnumberHow strongly the burst reacts to the cursor.
0.5hoverDampnessnumberHow smoothly the burst follows the cursor, from 0 to 1. Higher values feel heavier.
0.25clickBurstbooleanClicking sends a wave of light racing out along the rays.
introbooleanThe burst ignites from the center when it mounts.
fadenumberFades the edges into the page, from 0 to 1.
quality"low" | "medium" | "high"Render resolution. Lower settings are lighter on slower devices.
"high"resolutionnumberExact render scale from 0.2 to 1. Overrides quality.
undefinedlightModebooleanDraws the burst as colored ink on a white background.
mixBlendModestringCSS blend mode for the canvas, such as screen or lighten.
undefinedpausedbooleanFreezes the animation.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.
Inline styles for the container.



