Skip to content
FreeText

Typewriter

Types, deletes and retypes phrases with a human rhythm, pauses on punctuation and a blinking cursor.

Plan
Free · MIT
Dependencies
React only
Props
12 (11 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

We create interfaces that breathe. We create software with craft. We create brands people remember.

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

Props

PropTypeDefaultDescription
childrenstring"interfaces that breathe.|software with craft.|brands people remember."Phrases separated by "|" (alternative to phrases).
phrasesstring[]"[]"List of phrases that are typed one after another.
prefixstring"We create"Fixed text that precedes the phrase being typed.
sizenumber40Letter size, in px.
speednumber62Milliseconds per letter when typing.
deleteSpeednumber30Milliseconds per letter when deleting.
holdnumber1700Milliseconds the finished phrase rests.
mistakesnumber0.04Probability of hitting the wrong key, noticing and correcting it.
loopbooleantrueRepeats the phrases endlessly.
cursor"bar" | "block" | "underscore""bar"Cursor shape.
colorstring"#F4F5F7"Color of the typed phrase.
accentstring"#7CF5C6"Cursor color.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { Typewriter } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • The weight of a variable font ripples with the cursor's proximity, letter by letter.

    Text

  • A word rolls vertically between options on a spring-loaded drum, and its pill changes width along with it.

    Text

  • Inflated metallic balloon letters that bounce and squash under the cursor.

    Text