
Catch every signal on the first sweep.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Catch every signal on the first sweep.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Catch every signal on the first sweep.
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 | '#3ef09a' | Color of the sweep and the contacts. | |
backgroundColor | 'transparent' | Fills the canvas behind the radar. Leave it transparent to let the page show through. | |
mode | 'sweep' | 'pulse' | 'sweep' | A rotating beam, or sonar rings that expand from the center. |
speed | Speed of the sweep. Negative values sweep counterclockwise. | ||
trail | 0.35 | How long the afterglow lingers behind the sweep, from 0 to 1. | |
scale | 0.9 | Size of the radar, relative to the shorter side of the view. | |
ringCount | 6 | Number of range rings. | |
spokeCount | 12 | Number of faint bearing lines. 0 hides them. | |
ticks | Shows the bearing scale around the edge. | ||
targets | 6 | Number of moving contacts the sweep picks up, up to 16. | |
clutter | 0.35 | Amount of speckled returns the sweep lights up, from 0 to 1. | |
glow | Strength of the soft light around the beam and contacts. | ||
brightness | Overall brightness. | ||
gridOpacity | Opacity of the rings, ticks and lines, from 0 to 2. | ||
lineWidth | Width of the grid lines in px. | ||
tilt | Tilts the radar back in perspective like a floor, in degrees. | ||
centerX | 0.5 | Horizontal position of the radar center, from 0 to 1. | |
centerY | 0.5 | Vertical position of the radar center, from 0 at the top to 1 at the bottom. | |
mouseInteraction | Lights up the grid near the cursor, and the sweep picks the cursor up as a contact. | ||
| Draws the rings in and starts the sweep on mount. | |||
grain | 0.03 | Strength of the film grain. | |
fade | Fades the edges into the page, from 0 to 1. | ||
opacity | Opacity of the whole effect. | ||
lightMode | Draws the radar as ink for light backgrounds. | ||
paused | Freezes the animation. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. |
colorstringColor of the sweep and the contacts.
'#3ef09a'backgroundColorstringFills the canvas behind the radar. Leave it transparent to let the page show through.
'transparent'mode'sweep' | 'pulse'A rotating beam, or sonar rings that expand from the center.
'sweep'speednumberSpeed of the sweep. Negative values sweep counterclockwise.
trailnumberHow long the afterglow lingers behind the sweep, from 0 to 1.
0.35scalenumberSize of the radar, relative to the shorter side of the view.
0.9ringCountnumberNumber of range rings.
6spokeCountnumberNumber of faint bearing lines. 0 hides them.
12ticksbooleanShows the bearing scale around the edge.
targetsnumberNumber of moving contacts the sweep picks up, up to 16.
6clutternumberAmount of speckled returns the sweep lights up, from 0 to 1.
0.35glownumberStrength of the soft light around the beam and contacts.
brightnessnumberOverall brightness.
gridOpacitynumberOpacity of the rings, ticks and lines, from 0 to 2.
lineWidthnumberWidth of the grid lines in px.
tiltnumberTilts the radar back in perspective like a floor, in degrees.
centerXnumberHorizontal position of the radar center, from 0 to 1.
0.5centerYnumberVertical position of the radar center, from 0 at the top to 1 at the bottom.
0.5mouseInteractionbooleanLights up the grid near the cursor, and the sweep picks the cursor up as a contact.
introbooleanDraws the rings in and starts the sweep on mount.
grainnumberStrength of the film grain.
0.03fadenumberFades the edges into the page, from 0 to 1.
opacitynumberOpacity of the whole effect.
lightModebooleanDraws the radar as ink for light backgrounds.
pausedbooleanFreezes the animation.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.



