05.05 · Text & Typography
Text Clip-Path Reveal
Each line of a headline is uncovered in turn. Best for big headlines.
Watch it
It plays by itself. Turn on slow motion to see each part of the movement.
Inside, every letter is already in its place, shown faint. Each line is only uncovered by a window that grows from one side, a moment after the line above.
Appears at once shows the whole headline in one go. Line by line uncovers each line in turn, so it reads as a cascade, while no letter ever moves.
Try it
Change a setting and the animation plays again.
Starts from
The side each line's wipe begins on.
Speed
How long each line takes to uncover.
Delay between lines
Longer delays make the cascade easier to see.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a line-by-line reveal to [your multi-line headline]. Lay out every line in its final place from the start, then uncover each line with a wipe that grows from one side until the whole line shows, starting each line a moment after the one above so the headline cascades in. Nothing moves or changes size; only the visible part of each line grows, so the letter spacing stays exactly as designed. A wipe that slows down as it finishes looks calmer than one that stops abruptly. The text must stay readable by screen readers the whole time. If the visitor has reduced motion turned on, show all the lines at once. Match the settings listed below.
Your settings
Replace the words in brackets with your own element. Your settings are added at the end.
Free and open source. If this helped, a star on GitHub helps other people find it.
Star on GitHubWhat it is
The full explanation is in README.md.