reactbits.dev
Get started

Terrain that rises to meet your cursor.

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

Start buildingBrowse components
9:41

Terrain that rises to meet your cursor.

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

Start buildingBrowse components

Terrain that rises to meet your cursor.

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

Get startedLearn more
Lines
22
Line Width
1.2px
Elevation
Foreground
0.2
Scale
Detail
0.35
Tilt
32°
Speed
0.25
Morph
0.2
Glow
0.6
Depth of Field
0.4
Fog
0.35
Brightness
Glitch
0
Mouse Radius
Mouse Strength
0.6
Trail
0.3
Parallax
0.5

More backgrounds in Pro

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

View all 106
31 properties
color'#4f7cff'Color of the contour lines. The brightest lines glow toward white.
lineCount22How many contour lines stack up the tallest mountain.
lineWidth1.2Width of the lines in px. Nearer lines draw a little thicker.
majorLinesDraws every fifth line bolder and brighter, like the index lines on a map.
elevationHow tall the mountains rise. 0 lays the map flat.
foreground0.2How much height the land keeps as it reaches the camera. Low values settle it flat so the view stays clear.
scaleSize of the landforms. Larger values give broader mountains.
detail0.35Fine wobble in the lines and small rings on the plains, from 0 to 1.
tilt32Camera angle in degrees, from a low view across the land to 90 for straight down.
speed0.25How fast the camera glides over the land.
direction'forward' | 'backward' | 'left' | 'right''forward'Which way the camera travels.
morph0.2How quickly the landforms reshape over time. 0 keeps the terrain still.
glow0.6Soft bloom around the lit lines.
depthOfField0.4Softens lines away from the focus point, which follows the cursor.
fog0.35How quickly the land fades into the distance. 1 leaves only the foreground.
brightnessOverall brightness of the lines.
opacityOverall opacity of the effect.
mouseInteractionLets the cursor light and shape the terrain, and tilts the camera toward it.
hoverEffect'lift' | 'trace' | 'light''lift'Lift raises the land under the cursor, trace lights the contour at its height, light only lights it.
mouseRadiusSize of the area the cursor affects.
mouseStrength0.6How high the land lifts and how brightly it lights.
trail0.3How long the lifted land takes to settle back, from 0 to 1.
parallax0.5How far the camera leans toward the cursor, from 0 to 1.
clickEffect'pulse' | 'peak' | 'none''pulse'Pulse sends a ring of light rolling out over the land, peak raises a new mountain.
markers'none' | 'plus' | 'dots''none'Survey markers on a grid across the land. A few blink, and the ones near the cursor get a target frame.
glitchHow often brief data glitches slice through the lines, from 0 to 1. Clicks set one off too.
The map fades in flat and rises into mountains on mount.
lightModeDraws the lines as crisp ink for light backgrounds instead of glowing light.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
Inline styles for the container.
colorstring

Color of the contour lines. The brightest lines glow toward white.

Default'#4f7cff'
lineCountnumber

How many contour lines stack up the tallest mountain.

Default22
lineWidthnumber

Width of the lines in px. Nearer lines draw a little thicker.

Default1.2
majorLinesboolean

Draws every fifth line bolder and brighter, like the index lines on a map.

elevationnumber

How tall the mountains rise. 0 lays the map flat.

foregroundnumber

How much height the land keeps as it reaches the camera. Low values settle it flat so the view stays clear.

Default0.2
scalenumber

Size of the landforms. Larger values give broader mountains.

detailnumber

Fine wobble in the lines and small rings on the plains, from 0 to 1.

Default0.35
tiltnumber

Camera angle in degrees, from a low view across the land to 90 for straight down.

Default32
speednumber

How fast the camera glides over the land.

Default0.25
direction'forward' | 'backward' | 'left' | 'right'

Which way the camera travels.

Default'forward'
morphnumber

How quickly the landforms reshape over time. 0 keeps the terrain still.

Default0.2
glownumber

Soft bloom around the lit lines.

Default0.6
depthOfFieldnumber

Softens lines away from the focus point, which follows the cursor.

Default0.4
fognumber

How quickly the land fades into the distance. 1 leaves only the foreground.

Default0.35
brightnessnumber

Overall brightness of the lines.

opacitynumber

Overall opacity of the effect.

mouseInteractionboolean

Lets the cursor light and shape the terrain, and tilts the camera toward it.

hoverEffect'lift' | 'trace' | 'light'

Lift raises the land under the cursor, trace lights the contour at its height, light only lights it.

Default'lift'
mouseRadiusnumber

Size of the area the cursor affects.

mouseStrengthnumber

How high the land lifts and how brightly it lights.

Default0.6
trailnumber

How long the lifted land takes to settle back, from 0 to 1.

Default0.3
parallaxnumber

How far the camera leans toward the cursor, from 0 to 1.

Default0.5
clickEffect'pulse' | 'peak' | 'none'

Pulse sends a ring of light rolling out over the land, peak raises a new mountain.

Default'pulse'
markers'none' | 'plus' | 'dots'

Survey markers on a grid across the land. A few blink, and the ones near the cursor get a target frame.

Default'none'
glitchnumber

How often brief data glitches slice through the lines, from 0 to 1. Clicks set one off too.

introboolean

The map fades in flat and rises into mountains on mount.

lightModeboolean

Draws the lines as crisp ink for light backgrounds instead of glowing light.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.

Inline styles for the container.