Component packs › Kinetic Type › Typewriter
Each letter strikes the page with a tiny impact and uneven ink, and new lines arrive with a carriage return.
Typewriter is a reveal from Kinetic Type, a component pack with 6 components: Headlines that move with meaning. Price: $2 for the whole pack.
Built with: key-strike impact, natural pauses, carriage return.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
lines | string[] | ||
speed | number | 18 | Characters per second. Default 18. |
size | number | 26 | Font size in px. Default 26. |
loop | boolean | true | Repeat forever. Default true. |
restart(): voiddestroy(): voidimport Typewriter from './Typewriter';
<Typewriter />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Text animation.