RemotionUI

Code Reveal

Progressive code reveal with highlighted lines.

SceneScenes

code-reveal30fps · 960×540
Install
$ npx remotion-ui@latest add code-reveal

Reveal code, commands, or config snippets line by line.

Agent notes

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

Import
@/remotion/scenes/code-reveal
  • Use when: full-frame scenes, overlays, cards, and reusable video sections.
  • Customize: code, highlightedLines, 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 { CodeReveal } from "@/remotion/scenes/code-reveal"; <CodeReveal code={'npx remotion-ui add media-frame'} highlightedLines={[1]} />

API Reference

PropTypeDescription
code*stringCode or terminal text.
highlightedLinesnumber[]1-based highlighted line numbers.
titlestringScene title.

Related