RemotionUI

Media Frame

Safe framed image or video scene.

SceneScenesAdvanced

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

Frame screenshots, images, or videos inside a safe video layout.

Advanced. Installs @remotion/media for video sources.

Agent notes

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

Import
@/remotion/scenes/media-frame
  • Use when: full-frame scenes, overlays, cards, and reusable video sections.
  • Customize: src, fit, caption, 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 { MediaFrame } from "@/remotion/scenes/media-frame"; <MediaFrame src={staticFile("demo.png")} title="Product demo" />

API Reference

PropTypeDescription
src*stringImage or video source.
fit"cover" | "contain"Media object-fit behavior. Use contain for UI screenshots.
captionstringOptional supporting caption.

Related