Add a typewriter animation
Video
| Typed.js option | Example value | Description |
|---|---|---|
| strings | ["Text 1","Text 2"] | Text to display in a loop |
| typeSpeed | 80 | Typing speed (ms per character) |
| backSpeed | 40 | Deletion speed |
| smartBackspace | true | Deletes only the different part |
| loop | true | Infinite loop |
In this episode, Sacha, cofounder of Gemeos Webflow agency, shows you how to add a typewriter animation
1. Add a text block and assign it a class

2. Add this script at the end of the </body> in your page settings
- Make sure you use your class in the script: "typing_text"
- Replace the text "your text" with the content you want to display
< script src=" https://cdn.jsdelivr.net/npm/typed.js@2.0.11 ">
< script>
var typed4 = new Typed('.typing_text', {
strings: ["your text","your text","your text","your text"],
typeSpeed: 80,
backSpeed: 40,
smartBackspace: true,
loop: true
});
3. Publish your site and test the result

Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.













