05.08 · Text & Typography
Text Gradient Animation
Colors flow through the letters while the text stays still. Best for headlines.
Watch it
It moves by itself. Pause it to look closely, or turn on slow motion to see each part of the movement.
Inside, the gradient fills the whole box behind the word, shown faint, and the letters are holes that let it through. The band is three times as wide and keeps sliding past.
Hard seam ends its band on a different color than it starts with, so a sharp edge slides through the letters. Seamless ends where it began, so the colors flow on without a break.
Try it
Change a setting and see the difference as it moves.
Gradient
How the colors move through the letters.
Speed
Slower feels calm; faster feels lively.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a flowing color gradient to [your headline or logo text]. Fill the letters with a gradient instead of a flat color: paint the gradient as the text's background, show it only inside the letter shapes, and make the text color itself see-through. Then keep moving the gradient behind the letters, or turn it like a color wheel, so color flows through the word while the letters stay still. End the gradient with the color it starts with so the loop has no seam. Give the text a solid fallback color for browsers that cannot clip a background to text. If the visitor has reduced motion turned on, keep the gradient still. 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.