Scramble Text

A decode-style text animation where characters scramble briefly before resolving into readable, crawlable HTML text.

Published On: February 10, 2026
Last Updated: August 17, 2026
Scramble Text

Overview

Scramble Text helps important words arrive with intent: letters resolve from noise into meaning.

Use it for headlines, launch claims, short section openers, and one-line proof points. Do not use it on long body copy, error messages, legal text, or instructions where legibility is non-negotiable.

The risk in production is losing the text to the animation. The final phrase must remain real DOM text, screen readers should not hear every animated character, and reduced-motion users should see the readable final state immediately.


Install Command

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Usage Code

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Component Code

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Example Production Use Case

Use this as text-animation implementation guidance. Verify the shipped component API, splitting strategy, accessible text exposure, duplicated span handling, layout reservation, and reduced-motion behavior before relying on exact props, defaults, imports, or installation steps.


Best Used For

  • AI, developer-tool, and cyber headlines where signal resolving into meaning supports authority.
  • Short hero claims that can settle quickly into readable HTML text.
  • Scramble Text makes a short phrase arrive with timing while keeping the final text readable and indexable.

Not For

Not for body copy, labels, error messages, legal copy, or any text users need to read immediately.


Performance Budget

Animate only the phrase that matters, reserve layout space, and avoid expensive filters over large text blocks.


Accessibility and Mobile

Expose the complete phrase once for assistive technology. If characters are split visually, hide duplicated spans with aria-hidden when appropriate.


Common Mistakes

  • Using Scramble Text on long body copy.
  • Removing the readable text from the DOM.
  • Letting split text cause layout shift.

Changelog

v1.2.0

Jul 31, 2026Breaking
Removed the lowercase option from charType — scrambling now defaults to uppercase, with mixed-case and numbers still available.

Props

PropTypeDefaultDescription
speednumber0.6Scramble character cycling speed.
charTypestringuppercaseCharacter set used while scrambling.
textColorstring#111111Text color.
alignstringleftText alignment.
durationnumber0.7Scramble reveal duration in seconds.
staggernumber0.04Delay between scrambled characters.

Frequently Asked Questions

When should I use Scramble Text?

Use it when a technical header needs letters resolving from noise into meaning.

Request a Custom Text Animation

Need a custom effect? Tell us what to create.