213
Types a phrase with a human rhythm, holds it long enough to read, then backspaces or selects it away and moves on; the caret only blinks while it waits.
akatyping animation·typed text·rotating text
Run this in any project set up for the shadcn CLI. It copies the Typewriter source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/typewriter.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { Typewriter } from "@/components/typewriter";
export default function Page() {
return <Typewriter />;
}A free React motion component in the Text collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Typewriter source. Everything is optional unless it says required. It also accepts Omit<ComponentProps<"span">, "children">.
| Prop | Type | Default |
|---|---|---|
| phrasesrequired | string[] | — |
| caretClassName | string | — |
| typeSpeed | number | — |
| deleteSpeed | number | — |
| wpm | number | — |
| erase | "backspace" | "select" | — |
| loop | boolean | — |
| paused | boolean | — |