RemotionUI

Zoom Pan Frame

Deterministic zoom and pan media frame.

SceneScenes

zoom-pan-frame30fps · 960×540
Install
$ npx remotion-ui@latest add zoom-pan-frame

Use frame-driven zooms for screenshots and product walkthrough clips.

Agent notes

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

Import
@/remotion/scenes/zoom-pan-frame
  • Use when: full-frame scenes, overlays, cards, and reusable video sections.
  • Customize: src, toScale, 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

Example
import { ZoomPanFrame } from "@/remotion/scenes/zoom-pan-frame"; <ZoomPanFrame src={staticFile("screenshot.png")} toScale={1.25} />

API Reference

PropTypeDescription
src*stringImage source.
toScalenumberFinal zoom scale.
durationInFramesnumberZoom duration.

Related