Typewriter

Text that types itself out, optionally cycling through several phrases.

Build interfaces that are
fast., accessible., a joy to use.

Installation
Run the following command to install the `typewriter` components:
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/typewriter.json
One string, or several
A single string types once and stops, with the caret left blinking. An array cycles: each phrase types out, holds for pause ms, deletes, and the next begins. The caret stays solid while typing and only blinks at rest, the way a real text cursor behaves.

$ npm install more-shadcn-svelte

Cursor and pacing
Pass a string to cursor to use a character instead of a bar, or false for none. speed and deleteSpeed are milliseconds per character, and humanize (on by default) varies each delay a little so it reads as typed rather than printed.
cursor="_" An underscore cursor, like an old terminal
cursor="▍", slow, no humanize Slow and steady, with a block caret
cursor={false} No cursor at all, just the text
Layout and accessibility
By default the text flows inline and grows as it types. reserveSpace sizes it to the widest phrase up front so nothing around it shifts — used in the heading at the top. Screen readers get the full text once rather than every keystroke, users who prefer reduced motion see the text without animation, and trigger="view" waits until it scrolls into view. Text is split into graphemes, so emoji and accented characters never appear half-typed.
Command Palette
Search for a command to run