Skip to example

Typewriter: Natural Typing

An example of a typewriter animation using the typewriter function from Motion UI for vanilla JavaScript. In this demo, the typewriter uses a natural typing animation that's based on the currently-typed word length, position in word, uncommon character combinations and punctuation.

JavaScript

Source code