# Typing cursor text

https://fieldbook.lizardi.mx/components/typing-cursor-text

Category: Text effects
![Still of the Typing cursor text component, a Fieldbook UI component in Text effects.](https://fieldbook.lizardi.mx/thumbs/typing-cursor-text.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/typing-cursor-text-03a077c475.mp4 (5 s, silent)

Typing cursor text: A sentence types out one character at a time behind a blinking cursor, pauses, then erases backward and types the next line in an endless loop.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| duration | number | 60 | From 20 to 200; step 10 |
| holdDelay | number | 1200 | From 300 to 3000; step 100 |
| loop | boolean | true | No additional limit in the metadata. |
| showCursor | boolean | true | No additional limit in the metadata. |

## Usage notes

Typing cursor text uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Typing cursor text?

Typing cursor text is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Typing cursor text depend on?

The React metadata lists these npm dependencies beyond React: motion.

### What accessibility details are visible in Typing cursor text?

The React source for Typing cursor text includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Typing cursor text handle reduced motion?

Typing cursor text reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: idle &amp;&amp; !reduced ? \{ duration: 1, repeat: Infinity, times: \[0, 0.5, 0.51, 1\], ease: "linear" \} : \{ duration: 0.12 \}; idle &amp;&amp; !reduced ? \{ opacity: \[1, 1, 0, 0\] \} : \{ opacity: 1 \}. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "typing-cursor-text",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Flowing gradient headline](https://fieldbook.lizardi.mx/components/flowing-gradient-headline)
- [Looping text ribbon](https://fieldbook.lizardi.mx/components/looping-text-ribbon)
- [Scrolling content strip](https://fieldbook.lizardi.mx/components/scrolling-content-strip)
- [Shimmer sweep text](https://fieldbook.lizardi.mx/components/shimmer-sweep-text)
- [Cascading Letter Reveal](https://fieldbook.lizardi.mx/components/cascading-letter-reveal)
- [Shimmer Wave Text](https://fieldbook.lizardi.mx/components/character-wave-shimmer)
