Skip to content

Typewriter Input

A real text field that types with typewriter hammers: each key strikes the paper, correction fluid covers what's deleted and a bell rings at the end of the line.

Plan
Pro · commercial license
Dependencies
React only
Props
13 (10 adjustable)

Included in Pro and Lifetime. See pricing

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
valuestring | undefined"auto"Controlled value; if omitted, the field keeps its own text.
defaultValuestring""Initial text when uncontrolled.
onChange(value: string) => voidundefinedCalled every time the text changes.
onSubmit(value: string) => voidundefinedCalled on Enter (carriage return) with the text of the line.
maxLengthnumber36Maximum number of characters; at the limit the keys lock with a dull thud.
placeholderstring"Type here…"Faint text printed on the paper while the field is empty.
namestringundefinedField name for forms.
labelstring"Text"Accessible label of the field (aria-label).
soundbooleantrueSynthesized key, bell and carriage-return sounds (only plays after typing).
autoplaybooleanfalseThe machine types a phrase on its own, deletes it and repeats until someone touches it.
disabledbooleanfalseDisables the field.
badgestring"FURIN · MODEL 400"Text engraved on the typewriter's plate.
sample{ phrases?: string[]; seed?: string[] }"sample texts"Phrases typed by autoplay and lines already typed at start (autoplay only).

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Typewriter Input

npx shadcn@latest add @furin-pro/typewriter-input

Dependencies

React
18 or later
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • A numeric picker built as an abacus: wooden beads you drag, push in chains and bounce off the beam on a spring.

    Controls

  • Floor-by-floor navigation: a brass dial with a travelling needle, steel doors that close and open, and illuminated buttons.

    Controls

  • A 35 mm film strip gallery with sprocket holes and code-generated frames: drag with inertia, it bends over a roller and each photo develops from negative to color.

    Controls