RemotionUI

Cursor Path

Animated cursor movement along points.

PrimitivePaths & shapes

cursor-path30fps · 960×540
Install
$ npx remotion-ui@latest add cursor-path

Pointer motion primitive for product demos and tutorials.

Agent notes

Install first, then import the copied source component locally. AI guide →

Import
@/remotion/primitives/cursor-path
  • Use when: frame-level motion primitives and reusable animation wrappers.
  • Customize: points, durationInFrames, size, plus copied source for timing, layout, colors, and typography.
  • Rule: do not import this component from the remotion-ui npm package; it is copied into your project.

Usage

Example
import { CursorPath } from "@/remotion/primitives/cursor-path"; <CursorPath points={[{ x: 80, y: 120 }, { x: 320, y: 80 }]} />

API Reference

PropTypeDescription
points*{ x: number; y: number }[]Cursor route points.
durationInFramesnumberTravel duration.
sizenumberCursor size.

Related