Cipher
Text
Type
Colour
Ground
Motion
About this effect
Cipher scrambles the line into random glyphs in three colours and resolves it from left to right, each letter settling with a short fade into the text colour. It suits launches, dev tools, security products and anything that wants to feel like a signal coming in.
Each character is its own span, and a small script swaps their content on a timer; the heading itself keeps its full text as its accessible name. A monospaced face keeps the line from jittering while it scrambles; proportional fonts work, with a little more movement.
Switch the glyphs to binary for a data feel, or to letters for something closer to a split-flap board.
- Formats
- React, HTML
- No dependencies
- Built with
- CSS and a little JS
- Default font JetBrains Mono
- Plays
- Loop, Hover, In view, On load
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. The heading is named by its real text and the flickering spans are hidden from screen readers. Under reduced motion it never scrambles.
Also known as scramble text, decrypt text, hacker text effect, text decode animation, matrix text, shuffle letters.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.