Webflow sync, pageviews & more.
NEW

Can text typing be animated in Webflow like in the example given?

TL;DR
  • Embed a typing animation library like Typed.js via CDN in the Webflow page or project settings.
  • Add a target text element with a matching ID/class, initialize the script in custom code, and publish the site to view the animation.

Yes, typing text animations can be achieved in Webflow, though not natively. You’ll need to use custom code or embed a third-party JavaScript typing library.

1. Use a Typing Animation Library

  • Use a popular typing effect library like Typed.js or TypeIt.js.
  • These libraries simulate keystrokes by typing and erasing text dynamically.

2. Add Custom Code to Webflow

  • Go to Page Settings (or Project Settings > Custom Code for site-wide use).

  • Paste the CDN link to the typing library in the Before tag section.

  • Example for Typed.js CDN:
    <script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.12"></script>

  • Add another script tag to initiate the animation. Example:
    <script> var typed = new Typed('#typed-text', { strings: ['Hello', 'Welcome'], typeSpeed: 50, backSpeed: 25, loop: true }); </script>

Be sure the target element uses the correct ID or class, e.g., <span id="typed-text"></span>.

3. Add the Target Element

  • Place a Text Span (Inline Block) on the canvas with the ID or class that matches your script.
  • Leave the text empty, as the script will populate it.

4. Style as Needed

  • Use Webflow’s native font styling controls to adjust font, size, spacing, and color.
  • The script will inherit these styles.

5. Publish to See It Work

  • Typing animations generally won’t show in Webflow Designer.
  • Publish the site to preview the animation.

Summary

To animate typing text in Webflow, embed a library like Typed.js, hook it to a text element using a unique ID or class, and initialize it with JavaScript inside the Before code section. Native Webflow interactions won't support this effect directly.

Rate this answer

Other Webflow Questions