RemotionUI
Vectors

Path Draw

SVG stroke reveal along a path.

PrimitivevectorsAdvanced

Install
npx remotion-ui@latest add path-draw

Animates SVG stroke reveal using @remotion/paths evolvePath().

Live preview
Advanced — installs @remotion/paths.

AI usage

Install first, then import the copied source component locally.

AI guide

Install

npx remotion-ui@latest add path-draw

Import after install

@/remotion/primitives/path-draw
  • Use when: frame-level motion primitives and reusable animation wrappers.
  • Customize: d, durationInFrames, stroke, 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

import { PathDraw } from "@/remotion/primitives/path-draw";

<PathDraw d="M 10 10 L 190 190" durationInFrames={60} />

API Reference

PropTypeDescription
d*stringSVG path d attribute.
durationInFramesnumberDraw animation length.
strokestringStroke color.

Related