Presets

CSS text animation effects

4 presets. Open one to tune it and copy the code.

Hello, world!
01 Typewriter effect loop
02 Wave text loop
GLITCH
03 Glitch text loop
04 Text reveal once

Four text animation effects, each built with a different CSS technique. The Typewriter effect types a line behind a blinking caret using a steps() width animation in ch units and a monospace font, with no JavaScript. Glitch text tears a headline into cyan and magenta slices with clip-path and mix-blend-mode. Wave text bobs each letter up and down in turn. Text reveal raises letters one by one out of an overflow mask, the editorial headline entrance.

Type your own text into the editor and the preview updates, including the step count for the typewriter. The split-letter effects put the full text in aria-label and hide the letter spans from screen readers, so headlines are announced normally.

Copy the result as CSS, as Tailwind classes, or as a React component built on Motion that takes the text as a value you can turn into a prop.

How do I animate individual letters in CSS?

Wrap each character in its own inline-block span and give each span an animation delay based on its index. The Wave and Text reveal presets do this and generate the spans for you. Inline-block is required because transforms do not apply to plain inline elements.

Are text animations bad for accessibility?

They can be. Split letters may be read one by one, and motion makes text harder to read. Keep the full text in aria-label with aria-hidden letters, as these presets do. Use effects on short headings rather than paragraphs, and turn off or simplify them under prefers-reduced-motion.

Which text effect suits a hero headline?

Text reveal is the safest choice: it plays once and then leaves a normal, readable headline. The Typewriter effect works for developer tools and short taglines. Glitch fits gaming and tech event pages. Wave suits playful brands or a text-based loader, since it loops continuously.