Copy a prompt for your AI coding tool with the source, dependencies and usage
Props
TypewriterTextProps
Also accepts all props of React.ComponentProps<"span">
| Prop | Type | Default | Description |
|---|---|---|---|
| words* required | string[] | — | — |
| typeSpeed | number | 70 | Milliseconds per typed character |
| deleteSpeed | number | 40 | Milliseconds per deleted character |
| pause | number | 1600 | Milliseconds a finished word stays before it is deleted |
| loop | boolean | true | — |
| showCursor | boolean | true | — |
| cursorColor | string | "currentColor" | — |
Install
$ npx shadcn@latest add https://chromotion.dev/r/typewriter-text.jsonThe CLI installs the base component; your customizations live in the code generated on the Customize tab.