Skip to content
UIGrammer
EN 中文

Animation · Attention · 19

Typewriter

Typewriter = text that is revealed character by character with a blinking caret, mimicking live typing to draw the eye to a phrase.

Skip to the modify prompt

Typing…

Respects prefers-reduced-motion: the animation is disabled and the final state is shown.

What is a Typewriter?

A typewriter surfaces a phrase one character at a time, with a caret blinking at the end — it reads as 'being written' and pulls the eye to a headline or a value prop. Reveal it with a stepped clip (not width, which reflows) so the line stays put, then loop or hold. Use it for one hero phrase, never a paragraph.

Animation Specimen

Trigger
load
Tech
css
Duration
3.4s
Easing
steps(12, end)
Performance
clip-path, opacity

When to use

  • A single hero headline or value prop
  • Terminal / coding brand voices

Avoid when

  • Long copy — typing more than one line feels slow
  • As the only way to read critical info

Reveal with clip-path, not width — width animation reflows the whole line and stutters.

See also

Reveal a phrase with a typewriter: stepped clip-path left-to-right plus a blinking caret, no width animation.