Text Animations

Scramble Text

Ciphered glyphs boiling out of noise and resolving into words — a decode cascade that settles character by character, a hover that re-scrambles on demand, or a continuous low glitch that keeps the type restless, each freshly-resolved letter flashing accent before it cools to ink.

Install

# ScrambleText needs no npm packages

Props

PropTypeDefaultDescription
mode"decode-on-mount" | "scramble-on-hover" | "continuous-glitch""decode-on-mount"Decode once on mount, re-scramble on hover, or glitch forever.
charset"symbols" | "alphanumeric" | "katakana" | "binary" | "blocks""symbols"Pool of cipher glyphs shown before a character settles.
durationnumber900Total time for the full decode cascade to resolve.
staggernumber40Per-character offset of the settle deadline across the string.
speednumber45How often unsettled glyphs re-roll to new noise.
glitchIntervalnumber3Seconds between glitch bursts (continuous-glitch mode only).
flashColorstring (hex)"#a855f7"Accent tint a character flashes as it resolves.

What It Demonstrates

Text morph
Text that animates character by character when it changes, drawing attention to the new value.
Stepped animation
An animation that is divided into discrete steps, like a countdown timer.
Hover effect
Visual change when the cursor moves over an element.
Stagger
Animate several items one after another with a small delay between each, creating a cascade.

Related Components

Appears In