# 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](/content/docs/texts/index.html). Add it with the shadcn CLI, which copies the source into`components/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 into`components/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

- `sequences`: `TypewriterSequence[]` Default `built-in`
- `typingSpeed`: `number` Default `50`
- `startDelay`: `number` Default `200`
- `autoLoop`: `boolean` Default `true`
- `loopDelay`: `number` Default `1000`
- `deleteSpeed`: `number` Default `30`
- `pauseBeforeDelete`: `number` Default `1000`
- `naturalVariance`: `boolean` Default `true`
- `deleteMode`: `
