reactbits.dev
Get started

Don't just sit there, move your cursor!

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

Start buildingBrowse components
9:41

Don't just sit there, move your cursor!

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

Start buildingBrowse components

Don't just sit there, move your cursor!

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

Get startedLearn more
Grid
15
Radius
0.18
Strength
0.15
Relaxation
0.96
Softness
0
Chroma
0
Idle
0.3

More backgrounds in Pro

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

View all 106
13 properties
imageSrcImage to distort. It covers the container.
grid15Number of cells across. Rows follow the container so cells stay square.
radius0.18Reach of the pointer as a fraction of the container width.
strength0.15How far the pointer throws the cells. 0 turns the pointer off.
relaxation0.96How 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.
softnessBlends the crisp blocks into a smooth liquid warp, from 0 to 1.
chromaSplits the color channels on displaced cells, from 0 to 1.
idle0.3A slow wandering distortion that keeps the image alive while the pointer rests. 0 turns it off.
clickRippleSends 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.
imageSrcstring

Image to distort. It covers the container.

gridnumber

Number of cells across. Rows follow the container so cells stay square.

Default15
radiusnumber

Reach of the pointer as a fraction of the container width.

Default0.18
strengthnumber

How far the pointer throws the cells. 0 turns the pointer off.

Default0.15
relaxationnumber

How much displacement each cell keeps per frame. Higher values settle more slowly.

Default0.96
mode'drag' | 'push' | 'swirl'

Drag pulls cells along with the pointer, push throws them outward and swirl spins them around it.

Default'drag'
softnessnumber

Blends the crisp blocks into a smooth liquid warp, from 0 to 1.

chromanumber

Splits the color channels on displaced cells, from 0 to 1.

idlenumber

A slow wandering distortion that keeps the image alive while the pointer rests. 0 turns it off.

Default0.3
clickRippleboolean

Sends a ring of displaced cells out from every click.

introboolean

Scrambles the cells when the image loads and lets them settle into place.

Extra class names for the container.

Inline styles for the container.