
Terrain that rises to meet your cursor.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Terrain that rises to meet your cursor.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Terrain that rises to meet your cursor.
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 | '#4f7cff' | Color of the contour lines. The brightest lines glow toward white. | |
lineCount | 22 | How many contour lines stack up the tallest mountain. | |
lineWidth | 1.2 | Width of the lines in px. Nearer lines draw a little thicker. | |
majorLines | Draws every fifth line bolder and brighter, like the index lines on a map. | ||
elevation | How tall the mountains rise. 0 lays the map flat. | ||
foreground | 0.2 | How much height the land keeps as it reaches the camera. Low values settle it flat so the view stays clear. | |
scale | Size of the landforms. Larger values give broader mountains. | ||
detail | 0.35 | Fine wobble in the lines and small rings on the plains, from 0 to 1. | |
tilt | 32 | Camera angle in degrees, from a low view across the land to 90 for straight down. | |
speed | 0.25 | How fast the camera glides over the land. | |
direction | 'forward' | 'backward' | 'left' | 'right' | 'forward' | Which way the camera travels. |
morph | 0.2 | How quickly the landforms reshape over time. 0 keeps the terrain still. | |
glow | 0.6 | Soft bloom around the lit lines. | |
depthOfField | 0.4 | Softens lines away from the focus point, which follows the cursor. | |
fog | 0.35 | How quickly the land fades into the distance. 1 leaves only the foreground. | |
brightness | Overall brightness of the lines. | ||
opacity | Overall opacity of the effect. | ||
mouseInteraction | Lets 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. |
mouseRadius | Size of the area the cursor affects. | ||
mouseStrength | 0.6 | How high the land lifts and how brightly it lights. | |
trail | 0.3 | How long the lifted land takes to settle back, from 0 to 1. | |
parallax | 0.5 | How 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. |
glitch | How 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. | |||
lightMode | Draws the lines as crisp ink for light backgrounds instead of glowing light. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
colorstringColor of the contour lines. The brightest lines glow toward white.
'#4f7cff'lineCountnumberHow many contour lines stack up the tallest mountain.
22lineWidthnumberWidth of the lines in px. Nearer lines draw a little thicker.
1.2majorLinesbooleanDraws every fifth line bolder and brighter, like the index lines on a map.
elevationnumberHow tall the mountains rise. 0 lays the map flat.
foregroundnumberHow much height the land keeps as it reaches the camera. Low values settle it flat so the view stays clear.
0.2scalenumberSize of the landforms. Larger values give broader mountains.
detailnumberFine wobble in the lines and small rings on the plains, from 0 to 1.
0.35tiltnumberCamera angle in degrees, from a low view across the land to 90 for straight down.
32speednumberHow fast the camera glides over the land.
0.25direction'forward' | 'backward' | 'left' | 'right'Which way the camera travels.
'forward'morphnumberHow quickly the landforms reshape over time. 0 keeps the terrain still.
0.2glownumberSoft bloom around the lit lines.
0.6depthOfFieldnumberSoftens lines away from the focus point, which follows the cursor.
0.4fognumberHow quickly the land fades into the distance. 1 leaves only the foreground.
0.35brightnessnumberOverall brightness of the lines.
opacitynumberOverall opacity of the effect.
mouseInteractionbooleanLets 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.
'lift'mouseRadiusnumberSize of the area the cursor affects.
mouseStrengthnumberHow high the land lifts and how brightly it lights.
0.6trailnumberHow long the lifted land takes to settle back, from 0 to 1.
0.3parallaxnumberHow far the camera leans toward the cursor, from 0 to 1.
0.5clickEffect'pulse' | 'peak' | 'none'Pulse sends a ring of light rolling out over the land, peak raises a new mountain.
'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.
'none'glitchnumberHow often brief data glitches slice through the lines, from 0 to 1. Clicks set one off too.
introbooleanThe map fades in flat and rises into mountains on mount.
lightModebooleanDraws the lines as crisp ink for light backgrounds instead of glowing light.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.
Inline styles for the container.



