
Am I finally a real hacker now, mom?
React Bits brings motion and character to your interface, one copy-paste component at a time.

Am I finally a real hacker now, mom?
React Bits brings motion and character to your interface, one copy-paste component at a time.
Am I finally a real hacker now, mom?
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.
glitchColors | string[] | ['#ffffff', '#61dca3'] | Up to 8 colors that glitching letters light up in. Light mode defaults to dark ink tones. |
baseColor | '#ffffff' | Color of the letters at rest. Light mode defaults to near black. | |
characters | 'ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$&*()-_+=/[]{};:<>.,0123456789' | Characters to draw. Repeat a character to make it appear more often. | |
fontFamily | 'ui-monospace, ...' | CSS font family for the letters. Web fonts are drawn once they have loaded. | |
fontSize | 14 | Size of the letters in pixels. | |
spacing | 0.6 | Room around each letter relative to the font size. 0 packs them like lines of text. | |
density | 0.9 | Share of the grid that shows a letter at rest, from 0 to 1. Empty cells still flicker when they glitch. | |
baseOpacity | 0.16 | Opacity of the letters at rest, from 0 to 1. | |
glitchAmount | 0.5 | How often letters glitch, from 0 (never) to 1 (constantly). | |
speed | Tempo of the scrambling and glitches. 0 freezes the letters. | ||
flow | 0.5 | Strength of the soft waves of light that drift across the letters, from 0 to 1. | |
smooth | Fades glitching letters in and out. When off, they flicker on and off instantly. | ||
interactive | Lights up and scrambles the letters near the cursor, leaving a trail of glitches when it moves. | ||
cursorRadius | 140 | Radius of the area around the cursor that reacts, in pixels. | |
clickEffect | 'tear' | 'burst' | 'none' | 'tear' | What a click does. Tear rips a horizontal glitch through the rows, burst sends glitches outward. |
edgeFade | Fades the letters out toward the edges, from 0 to 0.5. | ||
centerFade | Clears the letters behind the middle of the container to keep content readable, from 0 to 1. | ||
| Boots the letters in with a flicker on mount. | |||
lightMode | Switches the default colors to dark ink for light backgrounds. | ||
backgroundColor | Paints an opaque background behind the letters. Leave it unset for a transparent canvas. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
glitchColorsstring[]Up to 8 colors that glitching letters light up in. Light mode defaults to dark ink tones.
['#ffffff', '#61dca3']baseColorstringColor of the letters at rest. Light mode defaults to near black.
'#ffffff'charactersstringCharacters to draw. Repeat a character to make it appear more often.
'ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$&*()-_+=/[]{};:<>.,0123456789'fontFamilystringCSS font family for the letters. Web fonts are drawn once they have loaded.
'ui-monospace, ...'fontSizenumberSize of the letters in pixels.
14spacingnumberRoom around each letter relative to the font size. 0 packs them like lines of text.
0.6densitynumberShare of the grid that shows a letter at rest, from 0 to 1. Empty cells still flicker when they glitch.
0.9baseOpacitynumberOpacity of the letters at rest, from 0 to 1.
0.16glitchAmountnumberHow often letters glitch, from 0 (never) to 1 (constantly).
0.5speednumberTempo of the scrambling and glitches. 0 freezes the letters.
flownumberStrength of the soft waves of light that drift across the letters, from 0 to 1.
0.5smoothbooleanFades glitching letters in and out. When off, they flicker on and off instantly.
interactivebooleanLights up and scrambles the letters near the cursor, leaving a trail of glitches when it moves.
cursorRadiusnumberRadius of the area around the cursor that reacts, in pixels.
140clickEffect'tear' | 'burst' | 'none'What a click does. Tear rips a horizontal glitch through the rows, burst sends glitches outward.
'tear'edgeFadenumberFades the letters out toward the edges, from 0 to 0.5.
centerFadenumberClears the letters behind the middle of the container to keep content readable, from 0 to 1.
introbooleanBoots the letters in with a flicker on mount.
lightModebooleanSwitches the default colors to dark ink for light backgrounds.
backgroundColorstringPaints an opaque background behind the letters. Leave it unset for a transparent canvas.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.
Inline styles for the container.



