Component packs › Kinetic Type › Typewriter

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.

Typewriter props

PropTypeDefaultDescription
linesstring[]
speednumber18Characters per second. Default 18.
sizenumber26Font size in px. Default 26.
loopbooleantrueRepeat forever. Default true.

Methods on the ref

Use it in React

import Typewriter from './Typewriter';

<Typewriter />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Kinetic Type

Good for: Text animation.