Looping typewriter animation for any text element.
This is a digital download. No physical item will be shipped.
By purchasing you agree to our Terms of Service. A 30-day refund is available โ see our Refund Policy.
A minimal, dependency-free typewriter effect that cycles through an array of strings indefinitely. Pass it a DOM element and an array of phrases, and it handles the rest โ typing each character, pausing, deleting, and moving to the next string in a continuous loop.
Typing speed, delete speed, and the pause between strings are all configurable via simple options. The blinking cursor is pure CSS, so it respects prefers-reduced-motion without any extra code on your part.
It's ideal for hero sections where you want to cycle through value propositions, job titles, or product names. The API is a single function call: typewriter(element, strings, options). Under 800 bytes minified, zero dependencies.