Typing Text - React Component | Kokonut UI

Typing Text

Typewriter text that makes the odd typo and corrects it, erases by selecting, and blinks its caret only when idle, built with React and Motion.

Installation

Typing Text is a free, open-source React component in the Kokonut UI Texts collection. Add it with the shadcn CLI, which copies the source intocomponents/kokonutui/type-writer.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/type-writer

Or add it by hand: install its packages, then copy the source from Copy code above intocomponents/kokonutui/type-writer.tsx.

npm install motion

Usage

import TypewriterTitle from "@/components/kokonutui/type-writer";

export default function Example() {
  return <TypewriterTitle deleteMode="select" typos={0.06} />;
}

Props