# Trailing cursor

https://fieldbook.lizardi.mx/components/trailing-cursor-arrow

Category: Cursor
![Still of the Trailing cursor component, a Fieldbook UI component in Cursor.](https://fieldbook.lizardi.mx/thumbs/trailing-cursor-arrow.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/trailing-cursor-arrow-07696dc537.mp4 (5 s, silent)

Trailing cursor: A drawn cursor that chases the real pointer on a spring, trailing a soft glow and fading afterimages while it turns to face the direction it is travelling.

## 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 |
| --- | --- | --- | --- |
| stiffness | number | 400 | From 100 to 800; step 25 |
| damping | number | 45 | From 10 to 90; step 1 |
| size | number | 46 | From 16 to 64; step 2 |
| accent | color | #FF6A1F | No additional limit in the metadata. |
| rotate | boolean | true | No additional limit in the metadata. |

## Usage notes

Trailing cursor uses the card preview frame with a dark theme setting.

### Which frameworks are available for Trailing cursor?

Trailing cursor 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 Trailing cursor depend on?

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

### What accessibility details are visible in Trailing cursor?

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

### How does Trailing cursor handle reduced motion?

Trailing cursor reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: echo1Damping: reduced ? Math.max(ECHO1\_DAMPING \* 2, 90) : ECHO1\_DAMPING; echo1Stiffness: reduced ? Math.max(ECHO1\_STIFFNESS \* 2.4, 900) : ECHO1\_STIFFNESS; echo2Damping: reduced ? Math.max(ECHO2\_DAMPING \* 2, 90) : ECHO2\_DAMPING. 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": "trailing-cursor-arrow",
    "framework": "react"
  }
}
```

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

## Related open components

- [Zoned cursor tag](https://fieldbook.lizardi.mx/components/zoned-cursor-tag)
- [Bracket lock cursor](https://fieldbook.lizardi.mx/components/bracket-lock-cursor)
- [Tile trail](https://fieldbook.lizardi.mx/components/pointer-tile-trail)
- [Stamped cursor trail](https://fieldbook.lizardi.mx/components/stamped-cursor-trail)
- [Swarm trail cursor](https://fieldbook.lizardi.mx/components/swarm-trail-cursor)
- [Fluid Splash](https://fieldbook.lizardi.mx/components/fluid-splash-cursor)
