Back to components
ComponentTypographyFree

Text Scramble Pro React component

Cycling phrases that decrypt from scrambled characters into readable text, left-to-right, right-to-left, or random reveal order, with a scramble-out transition and blinking cursor.

About the Text Scramble Pro component

Text Scramble Pro is a free decoding effect for rotating taglines. Each phrase starts as random symbols that resolve character by character into the real text, holds, scrambles back out and hands over to the next phrase, with a blinking cursor at the end.

Pass phrases, then set revealMode (left-to-right, right-to-left or random), framesPerChar (animation frames per character, default 10), holdDuration and pauseDuration in milliseconds, and scrambleOut, loop and showCursor. fontColor colors resolved letters and scrambleColor the random ones. fontFamily defaults to a monospace stack so the width does not jump. The font shrinks automatically so the longest phrase fits the container width minus padding.

When to use it

Use it for security, AI and developer-tool heroes, product taglines and terminal-style intros that rotate between two and five short phrases.

For a one-time, word-by-word reveal of a sentence as it scrolls into view, use Word Reveal.

Installation

Add the Text Scramble Pro component to your project with the shadcn CLI. It lands in components/text-scramble-pro.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/text-scramble-pro

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

Related components

Liquid Text
Free
Tilt Text
Free
Word Reveal
Free
Animated Heading
Free
Virtualized Table
Free
Live Ticker Table
Free