Scramble Text
Text that resolves out of random characters, one glyph at a time.
Access granted Access granted Access granted
Installation
Run the following command to install the `scramble-text` components:
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/scramble-text.json
Triggers
It plays on mount by default.
trigger="hover" replays it on every hover, which
suits navigation; view waits for it to scroll into view; and manual only plays when you call play() through bind:this.Reveal order
Every character scrambles for the first fifth of
duration, then they settle in
the order set by reveal. Spaces are never scrambled.start settling into place settling into place settling into place
end settling into place settling into place settling into place
center settling into place settling into place settling into place
random settling into place settling into place settling into place
Layout and accessibility
The real text is rendered invisibly underneath to fix the box size, so the changing glyph
widths never push the surrounding layout around — monospace or
tabular-nums text
avoids even the internal shimmer. The real text is what screen readers, server rendering and
reduced-motion users get, and characters sets the pool the noise is drawn from.