
A deep field of neon glyphs, laid out in 3D.
React Bits brings motion and character to your interface, one copy-paste component at a time.

A deep field of neon glyphs, laid out in 3D.
React Bits brings motion and character to your interface, one copy-paste component at a time.
A deep field of neon glyphs, laid out in 3D.
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.
colors | string[] | ['#a6f3fa', '#ea6fe0', '#6fd6f7', '#d351b6', '#5aaef0'] | Neon colors. Every column and row of glyphs picks one of them, up to 8. |
characters | 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789#$%&*+=<>?!' | Characters the glyphs are drawn from. | |
fontFamily | '"Geist Mono", ui-monospace, ...' | Font used to draw the glyphs. A monospace font keeps them aligned in the grid. | |
cellSize | 16 | Size of each glyph cell in pixels, before perspective. | |
depth | 12 | How many layers of glyphs the plane holds. 1 makes it a single flat sheet. | |
tilt | 25 | How far the top of the plane leans away, in degrees. 0 keeps it flat, around 60 lays it down like a floor. | |
turn | How far the plane turns to the side, in degrees, like a wall running into the distance. | ||
rotation | Rotation of the glyph grid within the plane, in degrees. | ||
perspective | 60 | Field of view in degrees. Higher values exaggerate the depth of a tilted or turned plane. | |
sway | 0.5 | How much the plane slowly sways, so its layers drift past each other. | |
speed | 0.15 | Speed of the floating glyphs. | |
density | 0.1 | Share of the plane filled with glyphs at any moment. | |
trails | 0.25 | Motion blur on the drifting glyphs. | |
glow | 0.75 | Strength of the bloom around the glyphs. | |
flicker | 0.5 | How often glyphs flash white-hot. | |
scramble | 0.5 | How fast the characters change. | |
brightness | Overall brightness of the glyphs. | ||
fade | 0.75 | Fades the edges into the page, splitting the colors slightly as they go. | |
aberration | 0.5 | How far the red and blue split apart toward the faded edges. | |
variation | Picks a different arrangement of columns, rows and colors. | ||
opacity | Opacity of the whole effect. | ||
| Lights the glyphs up from the center outward when the effect first appears. | |||
mouseInteraction | Wakes up scrambling glyphs around the cursor. | ||
burstOnClick | Sends a ring of bright, scrambling glyphs out from wherever you click. | ||
lightMode | Draws the glyphs as colored ink for light backgrounds. | ||
paused | Freezes the animation. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. |
colorsstring[]Neon colors. Every column and row of glyphs picks one of them, up to 8.
['#a6f3fa', '#ea6fe0', '#6fd6f7', '#d351b6', '#5aaef0']charactersstringCharacters the glyphs are drawn from.
'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789#$%&*+=<>?!'fontFamilystringFont used to draw the glyphs. A monospace font keeps them aligned in the grid.
'"Geist Mono", ui-monospace, ...'cellSizenumberSize of each glyph cell in pixels, before perspective.
16depthnumberHow many layers of glyphs the plane holds. 1 makes it a single flat sheet.
12tiltnumberHow far the top of the plane leans away, in degrees. 0 keeps it flat, around 60 lays it down like a floor.
25turnnumberHow far the plane turns to the side, in degrees, like a wall running into the distance.
rotationnumberRotation of the glyph grid within the plane, in degrees.
perspectivenumberField of view in degrees. Higher values exaggerate the depth of a tilted or turned plane.
60swaynumberHow much the plane slowly sways, so its layers drift past each other.
0.5speednumberSpeed of the floating glyphs.
0.15densitynumberShare of the plane filled with glyphs at any moment.
0.1trailsnumberMotion blur on the drifting glyphs.
0.25glownumberStrength of the bloom around the glyphs.
0.75flickernumberHow often glyphs flash white-hot.
0.5scramblenumberHow fast the characters change.
0.5brightnessnumberOverall brightness of the glyphs.
fadenumberFades the edges into the page, splitting the colors slightly as they go.
0.75aberrationnumberHow far the red and blue split apart toward the faded edges.
0.5variationnumberPicks a different arrangement of columns, rows and colors.
opacitynumberOpacity of the whole effect.
introbooleanLights the glyphs up from the center outward when the effect first appears.
mouseInteractionbooleanWakes up scrambling glyphs around the cursor.
burstOnClickbooleanSends a ring of bright, scrambling glyphs out from wherever you click.
lightModebooleanDraws the glyphs as colored ink for light backgrounds.
pausedbooleanFreezes the animation.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.



