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

Step through the portal
React Bits brings motion and character to your interface, one copy-paste component at a time.
Step through the portal
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.
color | '#A855F7' | Color of the innermost ring. | |
colorTwo | '#6366F1' | Color of the outermost ring. The rings in between blend from one to the other. | |
ringCount | 6 | Number of rings, from 1 to 12. | |
motion | 'pulse' | 'ripple' | 'breathe' | 'pulse' | How the rings move: a wave that lights them one by one, rings flowing outward from the center, or all rings gently breathing. |
speed | Animation speed. 0 freezes the rings. | ||
lineThickness | 2 | Thickness of the rings in px. Rings are thickest at the sides and taper toward the top and bottom. | |
glow | Size and strength of the glow around the rings. | ||
baseRadius | 0.35 | Radius of the innermost ring, as a share of the smaller side of the container. | |
radiusStep | 0.1 | Space between neighboring rings. | |
expansion | 0.1 | How far each ring drifts outward while it glows. | |
taper | 1.5 | How quickly outer rings shorten into side arcs. 1 keeps every ring the same length. | |
rotation | Rotates the whole pattern, in degrees. | ||
spin | Spins the arcs around the center, neighbors turning in opposite directions. Negative values reverse it. | ||
tilt | Leans the rings back in 3D, in degrees, like a portal seen at an angle. | ||
dispersion | Splits each ring into rainbow fringes like light through a prism, from 0 to 1. | ||
grain | Film grain over the glow, from 0 to 1. | ||
opacity | Overall opacity, from 0 to 1. | ||
followMouse | The rings drift toward the cursor. | ||
mouseInfluence | 0.2 | How far the rings drift when followMouse is on. | |
hoverScale | 1.2 | How much the rings swell on hover. | |
hoverIntensity | How much the rings brighten and thicken near the cursor. | ||
parallax | 0.05 | How much the rings shift and lean with the cursor, outer rings the most, for a sense of depth. | |
clickBurst | Clicking sends a bright ring racing outward that lights up the rings as it passes. | ||
| The rings open from the sides one by one when they mount. | |||
theme | 'dark' | 'light' | 'dark' | Glowing light for dark pages, or crisp ink with a soft halo for light ones. |
maxDevicePixelRatio | 2 | Highest pixel ratio the canvas renders at. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
colorstringColor of the innermost ring.
'#A855F7'colorTwostringColor of the outermost ring. The rings in between blend from one to the other.
'#6366F1'ringCountnumberNumber of rings, from 1 to 12.
6motion'pulse' | 'ripple' | 'breathe'How the rings move: a wave that lights them one by one, rings flowing outward from the center, or all rings gently breathing.
'pulse'speednumberAnimation speed. 0 freezes the rings.
lineThicknessnumberThickness of the rings in px. Rings are thickest at the sides and taper toward the top and bottom.
2glownumberSize and strength of the glow around the rings.
baseRadiusnumberRadius of the innermost ring, as a share of the smaller side of the container.
0.35radiusStepnumberSpace between neighboring rings.
0.1expansionnumberHow far each ring drifts outward while it glows.
0.1tapernumberHow quickly outer rings shorten into side arcs. 1 keeps every ring the same length.
1.5rotationnumberRotates the whole pattern, in degrees.
spinnumberSpins the arcs around the center, neighbors turning in opposite directions. Negative values reverse it.
tiltnumberLeans the rings back in 3D, in degrees, like a portal seen at an angle.
dispersionnumberSplits each ring into rainbow fringes like light through a prism, from 0 to 1.
grainnumberFilm grain over the glow, from 0 to 1.
opacitynumberOverall opacity, from 0 to 1.
followMousebooleanThe rings drift toward the cursor.
mouseInfluencenumberHow far the rings drift when followMouse is on.
0.2hoverScalenumberHow much the rings swell on hover.
1.2hoverIntensitynumberHow much the rings brighten and thicken near the cursor.
parallaxnumberHow much the rings shift and lean with the cursor, outer rings the most, for a sense of depth.
0.05clickBurstbooleanClicking sends a bright ring racing outward that lights up the rings as it passes.
introbooleanThe rings open from the sides one by one when they mount.
theme'dark' | 'light'Glowing light for dark pages, or crisp ink with a soft halo for light ones.
'dark'maxDevicePixelRationumberHighest pixel ratio the canvas renders at.
2Extra class names for the container.
Inline styles for the container.



