
Hold on, scanning for Angular users.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Hold on, scanning for Angular users.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Hold on, scanning for Angular users.
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.
linesColor | '#4d4757' | Color of the grid lines. Light mode defaults to a pale gray. | |
scanColor | '#7dd3fc' | Color of the scan, its trail, the points and the click ping. Light mode defaults to a deeper blue. | |
cells | 8 | Number of grid cells from the floor to the ceiling. | |
lineThickness | Thickness of the grid lines in pixels. | ||
lineStyle | 'solid' | 'dashed' | 'dotted' | 'solid' | Style of the grid lines. |
depth | 3 | How deep the room goes, relative to its height. High values turn it into a long corridor. | |
depthFade | 0.6 | How much the room fades into the distance, from 0 (evenly bright) to 1 (gone by the back wall). | |
parallax | How far the view shifts as the cursor moves, as if you were moving your head in front of a window. 0 keeps it still. | ||
shading | 0.7 | Soft light and corner shadows on the walls, from 0 (pure wireframe) to 1. | |
reflection | 0.35 | How much the glossy floor reflects the scan and pings, from 0 to 1. | |
points | Scatters points over the walls that sparkle as the scan passes, like a LiDAR capture. | ||
scanDirection | 'forward' | 'backward' | 'pingpong' | 'forward' | Whether the scan travels into the room, out of it, or alternates. |
scanDuration | 2.4 | Seconds each scan takes to cross the room. | |
scanDelay | 1.6 | Seconds between scans. | |
scanWidth | Thickness of the scan line, from 0.2 to 5. | ||
trail | 0.5 | How long the walls keep glowing behind the scan, from 0 to 1. | |
glow | 0.6 | Bloom around the scan line and points, from 0 to 1.5. | |
autoScan | Runs scans on a loop. Turn it off to scan only on click. | ||
interactive | Moves the view with the cursor and lights up the walls under it. | ||
clickEffect | 'ping' | 'scan' | 'none' | 'ping' | What a click does. Ping sends a ring of light across the walls from that spot, scan starts a new scan. |
enableWebcam | Moves the view with your head through the webcam. The face tracker is loaded from a CDN the first time it turns on. | ||
showPreview | Shows a small camera preview with the tracking status while the webcam is on. | ||
modelsPath | CDN URL | Where the face tracking model is loaded from. Point it at your own copy to self-host. | |
enableGyro | Moves the view as a phone or tablet tilts. iOS asks for permission on the first tap. | ||
| Reveals the room with a first scan on mount. | |||
lightMode | Renders a bright room with dark shading for light backgrounds. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
linesColorstringColor of the grid lines. Light mode defaults to a pale gray.
'#4d4757'scanColorstringColor of the scan, its trail, the points and the click ping. Light mode defaults to a deeper blue.
'#7dd3fc'cellsnumberNumber of grid cells from the floor to the ceiling.
8lineThicknessnumberThickness of the grid lines in pixels.
lineStyle'solid' | 'dashed' | 'dotted'Style of the grid lines.
'solid'depthnumberHow deep the room goes, relative to its height. High values turn it into a long corridor.
3depthFadenumberHow much the room fades into the distance, from 0 (evenly bright) to 1 (gone by the back wall).
0.6parallaxnumberHow far the view shifts as the cursor moves, as if you were moving your head in front of a window. 0 keeps it still.
shadingnumberSoft light and corner shadows on the walls, from 0 (pure wireframe) to 1.
0.7reflectionnumberHow much the glossy floor reflects the scan and pings, from 0 to 1.
0.35pointsbooleanScatters points over the walls that sparkle as the scan passes, like a LiDAR capture.
scanDirection'forward' | 'backward' | 'pingpong'Whether the scan travels into the room, out of it, or alternates.
'forward'scanDurationnumberSeconds each scan takes to cross the room.
2.4scanDelaynumberSeconds between scans.
1.6scanWidthnumberThickness of the scan line, from 0.2 to 5.
trailnumberHow long the walls keep glowing behind the scan, from 0 to 1.
0.5glownumberBloom around the scan line and points, from 0 to 1.5.
0.6autoScanbooleanRuns scans on a loop. Turn it off to scan only on click.
interactivebooleanMoves the view with the cursor and lights up the walls under it.
clickEffect'ping' | 'scan' | 'none'What a click does. Ping sends a ring of light across the walls from that spot, scan starts a new scan.
'ping'enableWebcambooleanMoves the view with your head through the webcam. The face tracker is loaded from a CDN the first time it turns on.
showPreviewbooleanShows a small camera preview with the tracking status while the webcam is on.
modelsPathstringWhere the face tracking model is loaded from. Point it at your own copy to self-host.
CDN URLenableGyrobooleanMoves the view as a phone or tablet tilts. iOS asks for permission on the first tap.
introbooleanReveals the room with a first scan on mount.
lightModebooleanRenders a bright room with dark shading for light backgrounds.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.
Inline styles for the container.



