logo

Letter Glitch

A terminal-inspired text effect that scrambles letters with neon-tinted chaos before settling into the final message. It works well for boot screens, status labels, and dramatic hero copy.

Usage

Loading...

Props

PropTypeDefaultDescription
childrenReactNoderequiredText content to animate.
glitchColorsstring[]["#2b4539", "#61dca3", "#61b3dc"]Colors used for the scrambling effect.
glitchSpeednumber50Refresh rate for the scrambling animation in ms.
smoothbooleantrueUses an eased reveal instead of a linear transition.
charactersstringABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$&*()-_+=/[]{};:<>.,0123456789Pool of characters used while scrambling.
durationnumber1000Reveal duration for each character in ms.
staggernumber20Delay between each character reveal in ms.
colorstring#fffFinal text color.
fontSizeCSSProperties["fontSize"]inheritFont size for the rendered text.
fontWeightCSSProperties["fontWeight"]inheritFont weight for the rendered text.
triggerKeynumber | string0Changing this value retriggers the animation.
frozenbooleanfalseKeeps the text in a continuous scrambled state.
onComplete() => void-Called when the reveal finishes.
classNamestring""Additional classes for the wrapper.

Tip: Use Alt + / to navigate