Black Friday: 30% off Pro

Get 30% off

Typewriter

Preview

Typing with a human hand

Customize

Key delay35ms
Key jitter70ms
Space pause90ms
Text size48px

Installation

npx shadcn@latest add https://uibrik.com/r/typewriter.json
Adds the files to components/uibrik/typewriter and installs motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/typewriter.

Usage

import { Typewriter } from "@/components/uibrik/typewriter/typewriter";​<Typewriter  play={0}  text="Typing with a human hand"  keyDelay={35}  keyJitter={70}  spacePause={90}/>

Where to use Typewriter

  • Typing headlines

    Text typed with a human rhythm, mistakes included, feels authentic.

  • AI product intros

    Typing suggests a model writing an answer.

    Pairs with Streaming Chat

  • Code-themed sites

    A typed line fits terminal and developer branding.

    Pairs with Terminal Demo

Props

Typewriter
text
Type string
"Typing with a human hand"
The copy to type. The scripted typo only plays for the default sentence.
keyDelay
Type number
35
Shortest gap between keystrokes.
keyJitter
Type number
70
Random extra per keystroke.
spacePause
Type number
90
Extra pause after a space.
playrequired
Type number
–
Each change plays the effect again; 0 shows its resting state.