reactbits.dev
Get started

Plasma that glows and flows behind your hero.

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

Start buildingBrowse components
9:41

Plasma that glows and flows behind your hero.

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

Start buildingBrowse components

Plasma that glows and flows behind your hero.

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

Get startedLearn more
Speed
Speed 1
0.05
Speed 2
0.05
Direction 2
Bend 1
Bend 2
0.5
Thickness
0.3
Focal Length
1.25
Rotation
0°
Brightness
Glow
Core
0.6
Grain
0.03
Fade
0
Opacity
Quality

More backgrounds in Pro

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

View all 106
25 properties
colors[string, string]['#A855F7', '#06B6D4']Colors of the two waves of plasma.
speedOverall speed of the animation.
speed10.05How fast the first wave travels.
speed20.05How fast the second wave travels.
dir2Direction of the second wave. Use -1 to make it travel against the first.
bend1How far the first wave curls around its path.
bend20.5How far the second wave curls around its path.
thickness0.3Thickness of the plasma ribbons.
focalLength1.25Camera lens. Lower values give a wider, deeper view.
rotationDegRotation of the whole effect, in degrees.
xOffsetHorizontal shift of the view, in px.
yOffsetVertical shift of the view, in px.
brightnessBrightness of the plasma.
glowStrength of the soft light spilling around the plasma.
core0.6How white-hot the brightest parts of the plasma get, from 0 to 1.
grain0.03Strength of the film grain.
qualityDetail of the plasma, from 0.25 to 1. Lower values render faster on slow devices.
mouseInteractionSwells and brightens the plasma near the cursor.
Unfolds the plasma and fades it in on mount.
fadeFades the edges into the page, from 0 to 1.
opacityOpacity of the whole effect.
lightModeDraws the plasma as glowing glass with white cores for light backgrounds.
pausedFreezes the animation.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
colors[string, string]

Colors of the two waves of plasma.

Default['#A855F7', '#06B6D4']
speednumber

Overall speed of the animation.

speed1number

How fast the first wave travels.

Default0.05
speed2number

How fast the second wave travels.

Default0.05
dir2number

Direction of the second wave. Use -1 to make it travel against the first.

bend1number

How far the first wave curls around its path.

bend2number

How far the second wave curls around its path.

Default0.5
thicknessnumber

Thickness of the plasma ribbons.

Default0.3
focalLengthnumber

Camera lens. Lower values give a wider, deeper view.

Default1.25
rotationDegnumber

Rotation of the whole effect, in degrees.

xOffsetnumber

Horizontal shift of the view, in px.

yOffsetnumber

Vertical shift of the view, in px.

brightnessnumber

Brightness of the plasma.

glownumber

Strength of the soft light spilling around the plasma.

corenumber

How white-hot the brightest parts of the plasma get, from 0 to 1.

Default0.6
grainnumber

Strength of the film grain.

Default0.03
qualitynumber

Detail of the plasma, from 0.25 to 1. Lower values render faster on slow devices.

mouseInteractionboolean

Swells and brightens the plasma near the cursor.

introboolean

Unfolds the plasma and fades it in on mount.

fadenumber

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

opacitynumber

Opacity of the whole effect.

lightModeboolean

Draws the plasma as glowing glass with white cores for light backgrounds.

pausedboolean

Freezes the animation.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.