05.14 · Text & Typography
Wavy Text
A wave rolls through the word, letter by letter. Best for playful titles.
Watch it
It moves by itself. Pause it to look closely, or turn on slow motion to see each part of the movement.
Inside, each letter is its own piece and bobs up and down from its resting place (dashed). Each starts a moment after the one before, so the high point rolls along.
All together lifts every letter at the same moment, so the word just bobs. Rolling wave starts each letter a moment later, so a wave travels along the word.
Try it
Change a setting and see the difference as it moves.
Wave height
How far each letter rises and falls.
Speed
How long one rise and fall takes.
Delay between letters
Longer delays stretch the wave across the word.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a wavy text effect to [your word or short title]. Split the text into letters and make every letter bob up and down with the same smooth motion, but start each letter a moment after the one before it, so the high point of the wave rolls from the first letter to the last and around again. Keep the letters on one line, and move them only up and down, never changing their size or spacing. Screen readers should read the word once, not letter by letter. If the visitor has reduced motion turned on, keep the letters 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.