reactbits.dev
Get started

Grainy gradients that flow with you.

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

Start buildingBrowse components
9:41

Grainy gradients that flow with you.

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

Start buildingBrowse components

Grainy gradients that flow with you.

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

Get startedLearn more
Colors
Angle
55°
Bands
Softness
Flow
0.8
Scale
Speed
Silk
0.35
Grain Amount
0.08
Grain Size
1.2px
Contrast
Saturation
Variation
0
Stir

More backgrounds in Pro

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

View all 106
23 properties
colorsstring[]['#120f17', '#2a0f0a', '#9a3412', '#f97316', '#fed7aa']Two to eight colors, from the base to the highlight. Use your page background as the first color so the edges blend in.
type'linear' | 'radial''linear'Linear runs the colors across the container. Radial puts the last color in the middle.
angle55Direction of a linear gradient in degrees, like CSS: 0 runs bottom to top, 90 left to right.
bandsHow many times the colors repeat back and forth, from 1 to 8. Higher values make stripes or rings.
softnessBlend between colors, from 0 (crisp, poster-like edges) to 1 (smooth).
flow0.8How much the gradient bends into waves, from 0 (straight) to 3. Above 1 it starts to marble.
scaleSize of the waves, from 0.25 to 3.
speedSpeed of the drifting waves. 0 holds them still.
silk0.35Satin shading on the folds, from 0 to 1. Combine with bands for glossy ribbons.
grainAmount0.08Strength of the film grain, from 0 to 0.5.
grainSize1.2Size of the grain in pixels, from 0.5 to 4.
grainAnimatedShifts the grain every frame like film. When off, the grain stays fixed.
contrastContrast of the colors, from 0.2 to 2.
saturationSaturation of the colors, from 0 (grayscale) to 2.
variationPicks a different pattern of waves.
interactiveLets the cursor drag the colors around like paint. The trail settles back after a moment.
stirHow far the cursor drags the colors, from 0 to 2.
clickSwirlClicking twists the colors into a swirl that slowly unwinds.
Blooms the colors out from the middle on mount.
lightModeBuilds a light version of the palette: the first color becomes white and the others run in reverse, deepest last.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
Inline styles for the container.
colorsstring[]

Two to eight colors, from the base to the highlight. Use your page background as the first color so the edges blend in.

Default['#120f17', '#2a0f0a', '#9a3412', '#f97316', '#fed7aa']
type'linear' | 'radial'

Linear runs the colors across the container. Radial puts the last color in the middle.

Default'linear'
anglenumber

Direction of a linear gradient in degrees, like CSS: 0 runs bottom to top, 90 left to right.

Default55
bandsnumber

How many times the colors repeat back and forth, from 1 to 8. Higher values make stripes or rings.

softnessnumber

Blend between colors, from 0 (crisp, poster-like edges) to 1 (smooth).

flownumber

How much the gradient bends into waves, from 0 (straight) to 3. Above 1 it starts to marble.

Default0.8
scalenumber

Size of the waves, from 0.25 to 3.

speednumber

Speed of the drifting waves. 0 holds them still.

silknumber

Satin shading on the folds, from 0 to 1. Combine with bands for glossy ribbons.

Default0.35
grainAmountnumber

Strength of the film grain, from 0 to 0.5.

Default0.08
grainSizenumber

Size of the grain in pixels, from 0.5 to 4.

Default1.2
grainAnimatedboolean

Shifts the grain every frame like film. When off, the grain stays fixed.

contrastnumber

Contrast of the colors, from 0.2 to 2.

saturationnumber

Saturation of the colors, from 0 (grayscale) to 2.

variationnumber

Picks a different pattern of waves.

interactiveboolean

Lets the cursor drag the colors around like paint. The trail settles back after a moment.

stirnumber

How far the cursor drags the colors, from 0 to 2.

clickSwirlboolean

Clicking twists the colors into a swirl that slowly unwinds.

introboolean

Blooms the colors out from the middle on mount.

lightModeboolean

Builds a light version of the palette: the first color becomes white and the others run in reverse, deepest last.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.

Inline styles for the container.