Skip to content
IndexRequest a UIAboutContact

Typewriter Cycling Words

A headline that types a word, pauses, deletes it and types the next, with a blinking caret and a speed control.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI IMAGE OR VIDEO TOOL
Clean website hero text on a pale background reading We design followed by the word interfaces typed in a bold accent colour with a thin vertical caret after the final letter, the last two letters slightly lighter as if just typed, large sans-serif type, generous margins, flat and minimal. Variants: the word half deleted showing inter, and an empty line with only the caret. Negative: multiple lines, decorative fonts, shadows, text errors. Reduced motion: static headline.

About this pattern

Definition

The typewriter effect reveals text one letter at a time with a caret at the end. Cycling words type, hold, delete and move on, so one line can carry several messages without taking more space. The caret blink tells the eye the line is alive.

When to use it

  • Type slower than you delete: about 90ms per letter in and 45ms out.
  • Hold the finished word for around a second and a half so it can be read.
  • Keep the caret blinking at about 1 hertz and a fixed width so the line does not jitter.

What the controls do

  • A Speed slider and a Pause button.

Motion & timing

  • Typing 90ms per letter, deleting 45ms, hold 1.4s; speed scales all three.
  • Reduced motion: the words change every 2s without typing and the caret does not blink.

Tips & variations

  • Put the full text in an accessible label once; hide the animated text from screen readers.
  • Provide a Pause control; motion that never stops is hard to read.

Code of this live preview

HTML
<div class="bx"><div class="hs" role="text" aria-label="We design products, brands and interfaces"><span aria-hidden="true">We design <b id="w"></b><i class="cr"></i></span></div><div class="row2"><label class="rw" style="flex:1">Speed <b id="sv">3</b><input id="sp" type="range" min="1" max="6" value="3"></label><button class="mini" id="pz" type="button" aria-pressed="false">Pause</button></div></div>

Related patterns

Scramble Text Decode

↗
Scramble Text DecodeKinetic Typography

Rotating Text Swap

↗
Rotating Text SwapMotion & Transitions

Text Reveal Styles

↗
Text Reveal StylesKinetic Typography