
Scramble Text
Text
A typewriter-style text animation for developer tools, AI products, security pages, and technical brand moments where the copy should feel like it is being executed, not merely displayed.
Typing Text reveals short lines of copy one character at a time.
The effect gives a message a technical cadence. It can make a product intro feel like a terminal output, a system check, a command sequence, or a status readout. It works best when the language already belongs to that world.
Use Typing Text when a product message benefits from procedural rhythm. It works well for developer tools, cybersecurity products, AI interfaces, onboarding moments, product intros, command-line references, and brand sections where the language already fits a system-like tone.
The page job is controlled anticipation. The visitor should feel the message arriving step by step without being forced to wait for basic comprehension. The typing effect can create tension, but the final copy still has to land quickly and remain readable.
import TypingText from "@/components/effects/typing-text"; const page = () => { return ( <> <TypingText/></> )}A developer-tool landing page can use Typing Text in a hero section to introduce an install sequence, product capability, or system-status metaphor. The typed lines create a small sense of technical progress before the CTA appears.
The outcome is signal. The page feels more native to a developer audience because the copy behaves like a system interaction rather than a marketing headline dressed as one.
Not for body copy, legal text, error messages, instructions, long explanations, pricing details, or anything users need to read immediately.
Not for fake security, fake loading, fake progress, or fake system claims. A typing cursor does not make a vague claim more technical. It only makes it arrive slower.
Keep the number of animated lines small, avoid updating layout-heavy state on every character when unnecessary, reserve the final text area, and clean up timers when the component unmounts. Do not loop long typed sequences near important reading or conversion areas.
Expose the final text once. Do not make screen readers announce every character as it types. On mobile, reduce line count, keep line breaks stable, and avoid tiny terminal-style copy that becomes hard to read. For reduced motion, show the final text immediately or use a short fade.
| Prop | Type | Default | Description |
|---|---|---|---|
variant | string | sequential | Typing sequence variant. |
textColor | string | #d8d8d8 | Typed text color. |
cursorColor | string | #f59e0b | Cursor color. Needs Show Cursor on. |
backgroundColor | string | #121212 | Background color. |
fontSize | number | 2.4 | Text size in vw units. |
fontWeight | number | 500 | Font weight. |
lineHeight | number | 1.55 | Line height. |
textAlign | string | left | Text alignment. |
maxWidth | number | 80 | Maximum text block width in vw units. |
charactersPerSecond | number | 18 | Typing speed. |
animationDuration | number | 1 | Multiplier applied to each line typing duration. |
lineDelay | number | 0.5 | Delay between line starts. |
holdDuration | number | 1.4 | Hold time before loop reset. Only used when Variant is Loop. |
typingDirection | string | left-to-right | Direction the text types from. |
blur | number | 0 | Starting blur in pixels. |
rotate | number | 0 | Starting X rotation in degrees. |
scale | number | 1 | Starting scale before the line settles. |
perspective | number | 800 | Perspective depth for rotated typing. |
cursorStyle | string | bar | Cursor visual style. Needs Show Cursor on. |
cursorWidth | number | 3 | Cursor thickness in pixels. Needs Show Cursor on. |
showCursor | boolean | true | Shows the animated cursor. |
Typing Text is a React text animation that reveals short lines of copy character by character with a cursor-led typewriter or terminal rhythm.
Use it when the copy benefits from a system-like cadence: developer tools, AI products, cybersecurity pages, command references, onboarding sequences, or technical brand moments.
Usually no. Let the message type once, resolve, and stay readable. Looping can work in a demo, but on a production page it often becomes distracting.
Expose the final phrase or line group once to assistive technology. Avoid making screen readers announce every character, cursor blink, or intermediate typing state.
Not if the final text renders as real HTML. Avoid trapping the only meaningful copy inside client-only animation state.
Show the final text immediately or use a short fade. Remove character-by-character typing, cursor blinking, long delays, and repeated loops.
Need a custom effect? Tell us what to create.