RemotionUI
Vectors

Line Chart Draw

SVG line chart draw-on primitive.

PrimitivevectorsAdvanced

Install
npx remotion-ui@latest add line-chart-draw

Draw a normalized SVG line chart with optional point reveals.

Live preview

AI usage

Install first, then import the copied source component locally.

AI guide

Install

npx remotion-ui@latest add line-chart-draw

Import after install

@/remotion/primitives/line-chart-draw
  • Use when: data stories, metrics, charts, and numeric proof points.
  • Customize: points, showDots, durationInFrames, 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 { LineChartDraw } from "@/remotion/primitives/line-chart-draw";

<LineChartDraw points={[{ x: 0, y: 12 }, { x: 1, y: 24 }]} />

API Reference

PropTypeDescription
points*{ x: number; y: number }[]Chart points.
showDotsbooleanReveal dots along the line.
durationInFramesnumberDraw-on duration.

Related