Services
Solutions
Industries
Regions
Book a call 085 369 7668 info@neddev.com

Text Along Path

A sentence runs endlessly along a wavy line and speeds up while you hover over it. As a ribbon above a hero or as a transition between two sections; with reduced motion the text stands still.

How to use it

  1. Paste the HTML where the text animations should appear.
  2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
  3. Add the JavaScript and call init() with the element that contains the HTML.
<!-- Text Along Path · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="tap">
  <svg class="tap__svg" viewBox="0 0 1000 480" preserveAspectRatio="xMidYMid slice" role="img" aria-label="Van ontwerp tot oplevering, interieurbouw in heel Zuid-Holland">
    <path class="tap__lijn" d="M-80 340C120 110 330 90 500 250S860 410 1080 160"/>
    <text class="tap__tekst" aria-hidden="true"><textPath class="tap__pad">Van ontwerp tot oplevering · interieurbouw in heel Zuid-Holland · </textPath></text>
  </svg>
</div>
</div>

More text animations

Seen something you like?

Add it to your selection and send it over. We build your site around it, in your brand.

Get in touch →