Wave text

Mood track «Flying Kerfuffle» · Kevin MacLeod incompetech.com · licensed under Creative Commons BY 4.0
Example image of the style Wave text
Preview built in HTML and CSS in this style

Texto en ola · Wave text · Wavy text · Bouncing letters · Lettere ondeggianti

The letters of a word rise and fall one after another, like a wave running through the text from left to right. It gives headlines, loaders and buttons a cheerful, musical tone.

Era
2010 – today
Use
Mainstream
Domain
Web / UIMotion
Mood
playfulenergeticdreamy
Explore

Live demo

View code
<main>
  <h1 class="wave" aria-label="Si parte!">Si parte!</h1>
  <p class="wave sm" aria-label="caricamento in corso">caricamento in corso…</p>
  <div class="sea"><i></i></div>
</main>
<script>
document.querySelectorAll('.wave').forEach(el=>{const t=el.textContent;el.textContent='';
  [...t].forEach((c,i)=>{const s=document.createElement('span');s.textContent=c===' '?' ':c;s.style.setProperty('--i',i);s.setAttribute('aria-hidden','true');el.append(s)})});
</script>
body{margin:0;height:100vh;display:grid;place-items:center;background:#FFF6E0;font-family:'Baloo 2',cursive;color:#3D348B;overflow:hidden}
main{text-align:center;position:relative;width:100%}
h1{font-weight:800;font-size:clamp(52px,15vw,96px);margin:0;line-height:1}
h1 span{display:inline-block;color:#FF5D73;text-shadow:0 6px 0 #3D348B}
h1 span:nth-child(3n+2){color:#FFB627}h1 span:nth-child(3n){color:#7DD3C0}
.sm{font-family:Nunito,sans-serif;font-weight:600;font-size:17px;margin:14px 0 0;color:#2A2A2A}
.sm span{display:inline-block}
.sea{position:fixed;left:0;right:0;bottom:0;height:40px;overflow:hidden}
.sea i{position:absolute;left:0;width:200%;height:100%;background:radial-gradient(circle at 20px -6px,transparent 22px,#7DD3C0 23px) 0 0/40px 40px repeat-x}
@media (prefers-reduced-motion:no-preference){
  h1 span{animation:wv 1.4s ease-in-out infinite;animation-delay:calc(var(--i)*-.12s)}
  .sm span{animation:sm 1.2s ease-in-out infinite;animation-delay:calc(var(--i)*.06s)}
  .sea i{animation:sea 2s linear infinite}
  @keyframes wv{0%,100%{transform:translateY(10px) rotate(-3deg)}50%{transform:translateY(-16px) rotate(3deg) scale(1.06)}}
  @keyframes sm{0%,40%,100%{transform:none}20%{transform:translateY(-6px);color:#FF5D73}}
  @keyframes sea{to{transform:translateX(-40px)}}
}

Characteristics

  • Each letter animated as its own element
  • Increasing delay creating the wave
  • Vertical motion with slight scale or rotation
  • Colour that can travel with the wave
  • Full text kept for screen readers

Palette

Click a swatch to copy it

Typography

Headings · Baloo 2 Wave text

Body · Nunito The letters of a word rise and fall one after another, like a wave running through the text from left to right. It gives headlines, loaders and buttons a cheerful, musical tone.

Motion

Easing
ease-in-out (sinusoidale)
Typical duration
1–2 s per ciclo, ritardo 60–120 ms tra lettere
Techniques
span per lettera con ritardo calcolato da una variabile, Splitting.js, GSAP SplitText con stagger, animation-delay negativo per partire in fase, aria-label sul contenitore

Accessibility (reduced motion)

Letters stay still; at most a very slow, subtle colour change.

Prompt for your agent

Copy and paste into your prompt to have an agent or image generator reproduce this style.

For web pages and UI

Design the web page or interface in this style: Wave text (Texto en ola).
The letters of a word rise and fall one after another, like a wave running through the text from left to right. It gives headlines, loaders and buttons a cheerful, musical tone.
Characteristics: Each letter animated as its own element, Increasing delay creating the wave, Vertical motion with slight scale or rotation, Colour that can travel with the wave, Full text kept for screen readers.
Palette: #FFF6E0, #FF5D73, #3D348B, #7DD3C0, #FFB627, #2A2A2A.
Typography: headings in Baloo 2, body text in Nunito (Google Fonts or equivalents).
Mood: playful, energetic, dreamy.
Motion: easing ease-in-out (sinusoidale), typical duration 1–2 s per ciclo, ritardo 60–120 ms tra lettere; techniques: span per lettera con ritardo calcolato da una variabile, Splitting.js, GSAP SplitText con stagger, animation-delay negativo per partire in fase, aria-label sul contenitore.
With prefers-reduced-motion: Letters stay still; at most a very slow, subtle colour change.
References: Effetti di testo nei siti Flash e nelle GeoCities, Splitting.js, GSAP SplitText, titoli dei videogiochi per bambini.

Relations

Similar to: Variable font animationVariable font animationSimilar to: Kinetic TypographyKinetic TypographySimilar to: Split Text RevealSplit Text RevealSimilar to: Staggered ListStaggered ListWave text
Similar toSee in the graph →

References

  • Effetti di testo nei siti Flash e nelle GeoCities
  • Splitting.js
  • GSAP SplitText
  • titoli dei videogiochi per bambini