
Don't just sit there, move your cursor!
React Bits brings motion and character to your interface, one copy-paste component at a time.

Don't just sit there, move your cursor!
React Bits brings motion and character to your interface, one copy-paste component at a time.
Don't just sit there, move 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.
imageSrc | Image to distort. It covers the container. | ||
grid | 15 | Number of cells across. Rows follow the container so cells stay square. | |
radius | 0.18 | Reach of the pointer as a fraction of the container width. | |
strength | 0.15 | How far the pointer throws the cells. 0 turns the pointer off. | |
relaxation | 0.96 | How much displacement each cell keeps per frame. Higher values settle more slowly. | |
mode | 'drag' | 'push' | 'swirl' | 'drag' | Drag pulls cells along with the pointer, push throws them outward and swirl spins them around it. |
softness | Blends the crisp blocks into a smooth liquid warp, from 0 to 1. | ||
chroma | Splits the color channels on displaced cells, from 0 to 1. | ||
idle | 0.3 | A slow wandering distortion that keeps the image alive while the pointer rests. 0 turns it off. | |
clickRipple | Sends a ring of displaced cells out from every click. | ||
| Scrambles the cells when the image loads and lets them settle into place. | |||
| Extra class names for the container. | |||
| Inline styles for the container. |
imageSrcstringImage to distort. It covers the container.
gridnumberNumber of cells across. Rows follow the container so cells stay square.
15radiusnumberReach of the pointer as a fraction of the container width.
0.18strengthnumberHow far the pointer throws the cells. 0 turns the pointer off.
0.15relaxationnumberHow much displacement each cell keeps per frame. Higher values settle more slowly.
0.96mode'drag' | 'push' | 'swirl'Drag pulls cells along with the pointer, push throws them outward and swirl spins them around it.
'drag'softnessnumberBlends the crisp blocks into a smooth liquid warp, from 0 to 1.
chromanumberSplits the color channels on displaced cells, from 0 to 1.
idlenumberA slow wandering distortion that keeps the image alive while the pointer rests. 0 turns it off.
0.3clickRipplebooleanSends a ring of displaced cells out from every click.
introbooleanScrambles the cells when the image loads and lets them settle into place.
Extra class names for the container.
Inline styles for the container.



