Typing Text

Motion

A React typewriter that types a phrase, holds, deletes and moves on, with a blinking accent caret. Starts in view and gives screen readers the plain text.

src/registry/premium/typing-text.tsx/r/typing-text.json

Installation#

bash
npx shadcn@latest add https://ui.minidev.pro/r/typing-text.json

Usage#

tsx
import { TypingText } from "@/components/ui/typing-text"

export function Example() {
  return <TypingText />
}

API reference#

TypingText props
PropTypeDefault
phrasesstring[]["Build the MVP.", "Ship it in 30 day...
speednumber55
holdnumber1400
loopbooleantrue
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files
All Animated React components