wise-ui

Data & Lists

Backgrounds

Cards

Navigation

Text

Buttons

Layout

Scramble Text

Text that decrypts character by character with randomized intermediate characters.

Scrambles on mount (click to replay):

 

Scrambles on hover:

Hover over this text to decode it

Non-sequential (all at once):

 

Installation

npx shadcn@latest add https://wise-ui.com/r/scramble-text.json

Props

PropTypeDefaultDescription
textstring-The target text to reveal.
trigger"mount" | "hover""mount"When to start the scramble animation.
speednumber50Milliseconds per character resolve step.
characterSetstringA-Z, a-z, 0-9, symbolsCharacters used for the random scramble effect.
sequentialbooleantrueResolve characters left-to-right (true) or all at once (false).
classNamestring-Additional classes for the text element.