RemotionUI

Tutorial Clip

Tutorial composition for demos and explainers.

CompositionCompositionsAdvanced

tutorial-clip30fps · 1080×1920
Install
$ npx remotion-ui@latest add tutorial-clip

Full tutorial template: hook, demo frame, spotlight, code reveal, and CTA.

9:16 walkthrough template. `calloutTarget` is read in media pixels and mapped through the same cover crop as the background, so pass `mediaWidth`/`mediaHeight` whenever the capture is not the composition size.

Agent notes

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

Import
@/compositions/tutorial-clip
  • Use when: complete video templates that can be customized as source.
  • Customize: mediaSrc, mediaWidth, mediaHeight, title, 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 { TutorialClip } from "@/compositions/tutorial-clip"; <TutorialClip mediaSrc={staticFile("demo.png")} />

API Reference

PropTypeDescription
mediaSrc*stringScreenshot or video source.
mediaWidthnumberPixel width `calloutTarget` was measured against.
mediaHeightnumberPixel height `calloutTarget` was measured against.
titlestringOpening hook title.
subtitlestringSupporting line under the hook.
calloutTitlestringHeadline on the spotlight callout card.
calloutSubtitlestringSupporting line on the callout card.
calloutTargetSpotlightTargetRegion to spotlight, in media pixels.
codestringCode reveal content.
ctaTitlestringEnd card headline. Defaults to `title`.
ctaLabelstringEnd card CTA pill label.

Related