OPUS/UI

Navigation

Typewriter

Types, holds and deletes phrases with a human-ish rhythm and a blinking caret. Screen readers get the full list once.

timersa11y2 files · 95 locdeps: clsx, tailwind-merge

Build a landing page., dashboard., design system., side project.

$ npx opus add fluid, npx opus add command, npx opus add dock

Installation

With the shadcn CLI, pointing at this platform’s registry:

npx shadcn@latest add https://opusui.131199999.xyz/r/typewriter.json

Or offline, straight from your opus55 checkout (copies every file it needs):

node ../tailwind_component/opus55/scripts/add.mjs typewriter

Usage

import { Typewriter } from "@/components/opus/text/typewriter";

<Typewriter words={["landing page.", "dashboard."]} />

API

PropTypeDefaultDescription
wordsstring[]—Phrases in order.
typeSpeed / deleteSpeednumber70 / 35ms per character.
pausenumber1400Hold time (ms).
loopbooleantrueCycle forever.
caret"bar" | "block" | "underscore" | "none""bar"Caret style.

Command palette