RemotionUI
Scenes

Media Frame

Safe framed image or video scene.

SceneblocksAdvanced

Install
npx remotion-ui@latest add media-frame

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

Live preview
Advanced — installs @remotion/media for video sources.

AI usage

Install first, then import the copied source component locally.

AI guide

Install

npx remotion-ui@latest add media-frame

Import after install

@/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

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.
captionstringOptional supporting caption.

Related