reactbits.dev
Get started

A wall of work that moves with you

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

Start buildingBrowse components
9:41

A wall of work that moves with you

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

Start buildingBrowse components

A wall of work that moves with you

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

Get startedLearn more
Rows
4
Tile Ratio
1.33
Gap
16px
Radius
14px
Angle
-12°
Tilt
0°
Speed
24
Parallax
0.5
Spotlight
0.6
Dim
0.35
Fade
0.5

More backgrounds in Pro

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

View all 106
19 properties
itemsArray<string | ReactNode | { src: string; alt?: string }>[]Tile content. Image URLs and paths render as photos, other strings as text, and JSX as is. Items repeat to fill the wall.
rows4Rows of tiles. More rows means smaller tiles.
aspectRatio1.33Width of each tile divided by its height. Below 1 gives portrait tiles.
gap16Space between tiles in pixels.
radius14Corner radius of the tiles in pixels. Large values give pills.
angle-12Rotation of the whole wall in degrees.
tiltLeans the wall back in 3D, in degrees. 0 keeps it flat.
speed24Drift speed of the rows in pixels per second. 0 keeps them still.
direction'alternate' | 'left' | 'right''alternate'Which way the rows drift. Alternate sends neighbouring rows in opposite directions.
parallax0.5How far the rows slide against each other as the pointer moves across the page, from 0 to 1.
spotlight0.6Size of the area around the pointer where dimmed or grayscale tiles come back to full color, from 0 to 1. 0 turns it off.
dim0.35Fades the tiles outside the spotlight, which keeps text on top readable. From 0 to 1.
grayscaleShows the tiles in grayscale until the spotlight brings their color back.
fade0.5Fades the edges of the wall into the page, from 0 to 1.
tileColorBackground of text and empty tiles. Follows the theme when not set.
textColorColor of text tiles. Follows the theme when not set.
theme'dark' | 'light''dark'Picks the default tile and text colors.
Extra class names for the root.
Inline styles for the root.
itemsArray<string | ReactNode | { src: string; alt?: string }>

Tile content. Image URLs and paths render as photos, other strings as text, and JSX as is. Items repeat to fill the wall.

Default[]
rowsnumber

Rows of tiles. More rows means smaller tiles.

Default4
aspectRationumber

Width of each tile divided by its height. Below 1 gives portrait tiles.

Default1.33
gapnumber

Space between tiles in pixels.

Default16
radiusnumber

Corner radius of the tiles in pixels. Large values give pills.

Default14
anglenumber

Rotation of the whole wall in degrees.

Default-12
tiltnumber

Leans the wall back in 3D, in degrees. 0 keeps it flat.

speednumber

Drift speed of the rows in pixels per second. 0 keeps them still.

Default24
direction'alternate' | 'left' | 'right'

Which way the rows drift. Alternate sends neighbouring rows in opposite directions.

Default'alternate'
parallaxnumber

How far the rows slide against each other as the pointer moves across the page, from 0 to 1.

Default0.5
spotlightnumber

Size of the area around the pointer where dimmed or grayscale tiles come back to full color, from 0 to 1. 0 turns it off.

Default0.6
dimnumber

Fades the tiles outside the spotlight, which keeps text on top readable. From 0 to 1.

Default0.35
grayscaleboolean

Shows the tiles in grayscale until the spotlight brings their color back.

fadenumber

Fades the edges of the wall into the page, from 0 to 1.

Default0.5
tileColorstring

Background of text and empty tiles. Follows the theme when not set.

textColorstring

Color of text tiles. Follows the theme when not set.

theme'dark' | 'light'

Picks the default tile and text colors.

Default'dark'

Extra class names for the root.

Inline styles for the root.