reactbits.dev
Get started

Catch every signal on the first sweep.

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

Start buildingBrowse components
9:41

Catch every signal on the first sweep.

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

Start buildingBrowse components

Catch every signal on the first sweep.

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

Get startedLearn more
Speed
Trail
0.35
Scale
0.9
Ring Count
6
Spoke Count
12
Targets
6
Clutter
0.35
Glow
Brightness
Grid Opacity
Line Width
1px
Tilt
0°
Center X
0.5
Center Y
0.5
Grain
0.03
Fade
0
Opacity

More backgrounds in Pro

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

View all 106
27 properties
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.
speedSpeed of the sweep. Negative values sweep counterclockwise.
trail0.35How long the afterglow lingers behind the sweep, from 0 to 1.
scale0.9Size of the radar, relative to the shorter side of the view.
ringCount6Number of range rings.
spokeCount12Number of faint bearing lines. 0 hides them.
ticksShows the bearing scale around the edge.
targets6Number of moving contacts the sweep picks up, up to 16.
clutter0.35Amount of speckled returns the sweep lights up, from 0 to 1.
glowStrength of the soft light around the beam and contacts.
brightnessOverall brightness.
gridOpacityOpacity of the rings, ticks and lines, from 0 to 2.
lineWidthWidth of the grid lines in px.
tiltTilts the radar back in perspective like a floor, in degrees.
centerX0.5Horizontal position of the radar center, from 0 to 1.
centerY0.5Vertical position of the radar center, from 0 at the top to 1 at the bottom.
mouseInteractionLights 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.
grain0.03Strength of the film grain.
fadeFades the edges into the page, from 0 to 1.
opacityOpacity of the whole effect.
lightModeDraws the radar as ink for light backgrounds.
pausedFreezes the animation.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
colorstring

Color of the sweep and the contacts.

Default'#3ef09a'
backgroundColorstring

Fills the canvas behind the radar. Leave it transparent to let the page show through.

Default'transparent'
mode'sweep' | 'pulse'

A rotating beam, or sonar rings that expand from the center.

Default'sweep'
speednumber

Speed of the sweep. Negative values sweep counterclockwise.

trailnumber

How long the afterglow lingers behind the sweep, from 0 to 1.

Default0.35
scalenumber

Size of the radar, relative to the shorter side of the view.

Default0.9
ringCountnumber

Number of range rings.

Default6
spokeCountnumber

Number of faint bearing lines. 0 hides them.

Default12
ticksboolean

Shows the bearing scale around the edge.

targetsnumber

Number of moving contacts the sweep picks up, up to 16.

Default6
clutternumber

Amount of speckled returns the sweep lights up, from 0 to 1.

Default0.35
glownumber

Strength of the soft light around the beam and contacts.

brightnessnumber

Overall brightness.

gridOpacitynumber

Opacity of the rings, ticks and lines, from 0 to 2.

lineWidthnumber

Width of the grid lines in px.

tiltnumber

Tilts the radar back in perspective like a floor, in degrees.

centerXnumber

Horizontal position of the radar center, from 0 to 1.

Default0.5
centerYnumber

Vertical position of the radar center, from 0 at the top to 1 at the bottom.

Default0.5
mouseInteractionboolean

Lights up the grid near the cursor, and the sweep picks the cursor up as a contact.

introboolean

Draws the rings in and starts the sweep on mount.

grainnumber

Strength of the film grain.

Default0.03
fadenumber

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

opacitynumber

Opacity of the whole effect.

lightModeboolean

Draws the radar as ink for light backgrounds.

pausedboolean

Freezes the animation.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.

Radar — React Background | React Bits