05.09 · Text & Typography
Outline to Fill
Hollow letters fill with color, as a wipe or a fade. Best for big headlines.
Watch it
It plays by itself. Turn on slow motion to see each part of the movement.
Wipe
Fade
Here the word's two copies are pulled apart: hollow on top, filled below. The wipe uncovers the filled copy through a growing window; the fade swaps the two by fading.
Snaps fills the hollow letters in a single jump. Wipes pours the color in, so you see the fill travel across the letters.
Try it
Change a setting and the animation plays again.
Fill direction
Where the wipe starts; the fade fills all at once.
Speed
How long the letters take to fill.
Outline thickness
Thin looks precise; thick looks bold and graphic.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add an outline-to-fill effect to [your headline or logo word]. The text should start hollow, with only the outline of each letter showing, then fill with color. The fill can wipe in from one side, like paint, or fade in everywhere at once, like ink soaking through. Draw the outline and the filled text as two layers in exactly the same place so the letters never shift. Use large, heavy letters so there is enough inside each one to fill. The text must stay readable by screen readers. If the visitor has reduced motion turned on, show the filled text straight away. 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.