reactbits.dev
Get started

Soft gradients, typed out in characters.

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

Start buildingBrowse components
9:41

Soft gradients, typed out in characters.

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

Start buildingBrowse components

Soft gradients, typed out in characters.

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

Get startedLearn more
Colors
Cell Size
18px
Density
0.8
Glyph Opacity
0.85
Gradient Opacity
0.9
Glow
0.2
Depth of Field
0
Flicker
0.2
Softness
0.5
Scale
Flow
0.5
Speed
Grain
0.08
Variation
0
Scramble Radius
0.1

More backgrounds in Pro

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

View all 106
25 properties
colorsstring[]['#1e3fd8', '#f6f8ff', '#a5d8ff', '#38bdf8']Two to eight colors for the light, from the edge of the shadow to the brightest or farthest point. Dark areas stay transparent.
shape'horizon' | 'pinch' | 'rise' | 'eclipse''horizon'Horizon glows over a dark curve, pinch is a band of light squeezed in the middle, rise glows up from the bottom and eclipse rings a dark disc.
characters' =+xX0S8#@'Characters from dimmest to brightest. Brighter parts of the gradient use characters further along.
cellSize18Height of each character cell in px.
density0.8Share of cells that show a character, from 0 to 1. Brighter areas fill in first.
glyphOpacity0.85How strongly the characters stand out from the gradient.
gradientOpacity0.9Opacity of the gradient behind the characters. At 0 only the characters are left.
glow0.2Soft glow around the characters, from 0 to 1.5.
depthOfFieldShare of characters drawn out of focus, from 0 to 1.
flicker0.2How often characters swap with their neighbors in brightness, from 0 to 1.
softness0.5How soft the edges of the shape are, from 0 to 1.
scaleSize of the shape, from 0.4 to 2.5.
flow0.5How much the light wavers as it drifts, from 0 to 2.
speedSpeed of the drift. 0 holds the shape still.
grain0.08Strength of the film grain, from 0 to 0.4.
variationPicks a different drift and a different pattern of characters.
mouseInteractionScrambles the characters under the cursor as it moves. They settle back a moment later.
scrambleRadius0.1Size of the scrambled area around the cursor, relative to the container height.
clickEffect'wave' | 'burst' | 'none''wave'Wave sends a ring of scrambled characters out from the click, burst scrambles a patch under it.
Fades the light in from its source while the characters decode.
lightModeDraws the gradient as a wash on light backgrounds, with characters a shade darker.
fontFamily'"Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace'Font used for the characters. Monospaced fonts keep the grid even.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
Inline styles for the container.
colorsstring[]

Two to eight colors for the light, from the edge of the shadow to the brightest or farthest point. Dark areas stay transparent.

Default['#1e3fd8', '#f6f8ff', '#a5d8ff', '#38bdf8']
shape'horizon' | 'pinch' | 'rise' | 'eclipse'

Horizon glows over a dark curve, pinch is a band of light squeezed in the middle, rise glows up from the bottom and eclipse rings a dark disc.

Default'horizon'
charactersstring

Characters from dimmest to brightest. Brighter parts of the gradient use characters further along.

Default' =+xX0S8#@'
cellSizenumber

Height of each character cell in px.

Default18
densitynumber

Share of cells that show a character, from 0 to 1. Brighter areas fill in first.

Default0.8
glyphOpacitynumber

How strongly the characters stand out from the gradient.

Default0.85
gradientOpacitynumber

Opacity of the gradient behind the characters. At 0 only the characters are left.

Default0.9
glownumber

Soft glow around the characters, from 0 to 1.5.

Default0.2
depthOfFieldnumber

Share of characters drawn out of focus, from 0 to 1.

flickernumber

How often characters swap with their neighbors in brightness, from 0 to 1.

Default0.2
softnessnumber

How soft the edges of the shape are, from 0 to 1.

Default0.5
scalenumber

Size of the shape, from 0.4 to 2.5.

flownumber

How much the light wavers as it drifts, from 0 to 2.

Default0.5
speednumber

Speed of the drift. 0 holds the shape still.

grainnumber

Strength of the film grain, from 0 to 0.4.

Default0.08
variationnumber

Picks a different drift and a different pattern of characters.

mouseInteractionboolean

Scrambles the characters under the cursor as it moves. They settle back a moment later.

scrambleRadiusnumber

Size of the scrambled area around the cursor, relative to the container height.

Default0.1
clickEffect'wave' | 'burst' | 'none'

Wave sends a ring of scrambled characters out from the click, burst scrambles a patch under it.

Default'wave'
introboolean

Fades the light in from its source while the characters decode.

lightModeboolean

Draws the gradient as a wash on light backgrounds, with characters a shade darker.

fontFamilystring

Font used for the characters. Monospaced fonts keep the grid even.

Default'"Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace'
dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.

Inline styles for the container.