Typewriter

A 1920s typewriter you actually type on — moving carriage, uneven ink, margin bell, carriage return.

  • Zero dependencies
  • React + Tailwind
  • Accessible
  • Reduced-motion aware
Open in v0

Preview

Animated · Full motion: idle animation, physics and effects. animated (default)

Click and type: each key strikes, the paper carriage shifts one character, ink density varies per letter, a bell rings near the margin and Enter throws the carriage back. Sounds are synthesized with Web Audio.

Installation

$ npx shadcn@latest add https://pickui.guetix.com/r/typewriter.json

Uses the shadcn CLI. It creates components/pickui/typewriter.tsx and installs nothing else.

Usage

example.tsx
import { Typewriter } from "@/components/pickui/typewriter";

export default function Example() {
  return <Typewriter />;
}
Museum & archive sitesWriters' portfoliosContact forms with character

Under the hood

The details that make it feel right, and that a one-line prompt usually misses:

  • 01Ink unevenness is deterministic per position (no flicker on re-render).
  • 02The bell and the type strike are synthesized, so there are no audio files.

Props

PropTypeDefaultDescription
initialstring—Text already on the page.
colsnumber34Characters per line.
soundbooleantrueSynthesized sounds.
animatedbooleantruefalse = the calm “Regular” version (no idle or ambient motion).

Accessibility

  • A hidden, labelled textarea receives keystrokes (works with screen readers).