
Plasma that glows and flows behind your hero.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Plasma that glows and flows behind your hero.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Plasma that glows and flows behind your hero.
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, string] | ['#A855F7', '#06B6D4'] | Colors of the two waves of plasma. |
speed | Overall speed of the animation. | ||
speed1 | 0.05 | How fast the first wave travels. | |
speed2 | 0.05 | How fast the second wave travels. | |
dir2 | Direction of the second wave. Use -1 to make it travel against the first. | ||
bend1 | How far the first wave curls around its path. | ||
bend2 | 0.5 | How far the second wave curls around its path. | |
thickness | 0.3 | Thickness of the plasma ribbons. | |
focalLength | 1.25 | Camera lens. Lower values give a wider, deeper view. | |
rotationDeg | Rotation of the whole effect, in degrees. | ||
xOffset | Horizontal shift of the view, in px. | ||
yOffset | Vertical shift of the view, in px. | ||
brightness | Brightness of the plasma. | ||
glow | Strength of the soft light spilling around the plasma. | ||
core | 0.6 | How white-hot the brightest parts of the plasma get, from 0 to 1. | |
grain | 0.03 | Strength of the film grain. | |
quality | Detail of the plasma, from 0.25 to 1. Lower values render faster on slow devices. | ||
mouseInteraction | Swells and brightens the plasma near the cursor. | ||
| Unfolds the plasma and fades it in on mount. | |||
fade | Fades the edges into the page, from 0 to 1. | ||
opacity | Opacity of the whole effect. | ||
lightMode | Draws the plasma as glowing glass with white cores for light backgrounds. | ||
paused | Freezes the animation. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. |
colors[string, string]Colors of the two waves of plasma.
['#A855F7', '#06B6D4']speednumberOverall speed of the animation.
speed1numberHow fast the first wave travels.
0.05speed2numberHow fast the second wave travels.
0.05dir2numberDirection of the second wave. Use -1 to make it travel against the first.
bend1numberHow far the first wave curls around its path.
bend2numberHow far the second wave curls around its path.
0.5thicknessnumberThickness of the plasma ribbons.
0.3focalLengthnumberCamera lens. Lower values give a wider, deeper view.
1.25rotationDegnumberRotation of the whole effect, in degrees.
xOffsetnumberHorizontal shift of the view, in px.
yOffsetnumberVertical shift of the view, in px.
brightnessnumberBrightness of the plasma.
glownumberStrength of the soft light spilling around the plasma.
corenumberHow white-hot the brightest parts of the plasma get, from 0 to 1.
0.6grainnumberStrength of the film grain.
0.03qualitynumberDetail of the plasma, from 0.25 to 1. Lower values render faster on slow devices.
mouseInteractionbooleanSwells and brightens the plasma near the cursor.
introbooleanUnfolds the plasma and fades it in on mount.
fadenumberFades the edges into the page, from 0 to 1.
opacitynumberOpacity of the whole effect.
lightModebooleanDraws the plasma as glowing glass with white cores for light backgrounds.
pausedbooleanFreezes the animation.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.



