
Holographic tiles that change color as the light moves.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Holographic tiles that change color as the light moves.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Holographic tiles that change color as the light moves.
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 | '#120f17' | Base color of the tiles. Set it to your page background, the seams show the page through. | |
metalColor | '#e8ebf1' | Tint of the metal where no color diffracts, and of the glints and sheen. | |
spectrum | 'full' | 'warm' | 'cool' | 'pearl' | 'full' | Range of colors the tiles split light into: the full rainbow, golds and reds, blues and greens, or soft pearl. |
tileSize | Size of the tiles. | ||
gap | 0.08 | Width of the seams between tiles. | |
roundness | 0.15 | Corner radius of the tiles. | |
bevel | 0.35 | How much the tile edges round off and catch the light. | |
rotation | Rotation of the tile grid, in degrees. | ||
scatter | 0.3 | How differently each tile is etched. 0 keeps the color flowing across tiles, 1 gives every tile its own. | |
tilt | 0.35 | How much the tiles lean in random directions, so they catch the light one by one. | |
swirl | Size of the swirling color pattern. Higher makes it finer. | ||
ripple | 0.6 | Strength of the slow rings that roll through the color. | |
bands | 1.3 | How many color bands fit across the tiles. | |
softness | 0.5 | Size of the light. Higher blends the color bands more softly. | |
intensity | 1.25 | Strength of the colors. | |
saturation | 0.1 | Color saturation. 0 gives plain silver. | |
glitter | 0.85 | Amount of tiny glints that sparkle as the light moves. | |
sheen | 0.8 | Soft reflection of the light on the tiles. | |
grain | 0.08 | Strength of the film grain. | |
speed | 0.5 | Speed of the drifting light and the moving color. | |
variation | Picks a different pattern of tiles and color. | ||
filter | 'none' | 'ascii' | 'dither' | 'none' | Redraws the effect as colored ASCII characters or as an ordered dither. |
filterSize | Size of the characters or dither dots. | ||
fade | Fades the edges into the page, from 0 to 1. | ||
opacity | Opacity of the whole effect. | ||
| Flips the tiles in from the center when the effect first appears. | |||
mouseInteraction | Lets the light follow the cursor and the tiles around it tilt toward it. | ||
mouseStrength | How far the tiles around the cursor tilt. | ||
mouseRadius | 0.25 | Size of the area around the cursor that tilts. | |
flipOnClick | Sends a wave of flipping tiles out from wherever you click. | ||
lightMode | Prints the colors like ink on pale tiles, for light backgrounds. | ||
paused | Freezes the animation. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. |
colorstringBase color of the tiles. Set it to your page background, the seams show the page through.
'#120f17'metalColorstringTint of the metal where no color diffracts, and of the glints and sheen.
'#e8ebf1'spectrum'full' | 'warm' | 'cool' | 'pearl'Range of colors the tiles split light into: the full rainbow, golds and reds, blues and greens, or soft pearl.
'full'tileSizenumberSize of the tiles.
gapnumberWidth of the seams between tiles.
0.08roundnessnumberCorner radius of the tiles.
0.15bevelnumberHow much the tile edges round off and catch the light.
0.35rotationnumberRotation of the tile grid, in degrees.
scatternumberHow differently each tile is etched. 0 keeps the color flowing across tiles, 1 gives every tile its own.
0.3tiltnumberHow much the tiles lean in random directions, so they catch the light one by one.
0.35swirlnumberSize of the swirling color pattern. Higher makes it finer.
ripplenumberStrength of the slow rings that roll through the color.
0.6bandsnumberHow many color bands fit across the tiles.
1.3softnessnumberSize of the light. Higher blends the color bands more softly.
0.5intensitynumberStrength of the colors.
1.25saturationnumberColor saturation. 0 gives plain silver.
0.1glitternumberAmount of tiny glints that sparkle as the light moves.
0.85sheennumberSoft reflection of the light on the tiles.
0.8grainnumberStrength of the film grain.
0.08speednumberSpeed of the drifting light and the moving color.
0.5variationnumberPicks a different pattern of tiles and color.
filter'none' | 'ascii' | 'dither'Redraws the effect as colored ASCII characters or as an ordered dither.
'none'filterSizenumberSize of the characters or dither dots.
fadenumberFades the edges into the page, from 0 to 1.
opacitynumberOpacity of the whole effect.
introbooleanFlips the tiles in from the center when the effect first appears.
mouseInteractionbooleanLets the light follow the cursor and the tiles around it tilt toward it.
mouseStrengthnumberHow far the tiles around the cursor tilt.
mouseRadiusnumberSize of the area around the cursor that tilts.
0.25flipOnClickbooleanSends a wave of flipping tiles out from wherever you click.
lightModebooleanPrints the colors like ink on pale tiles, for light backgrounds.
pausedbooleanFreezes the animation.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.



