RemotionUI

Code Diff Wipe

Code Diff Wipe for Remotion.

SceneScenes

code-diff-wipe30fps · 960×540
Install
$ npx remotion-ui@latest add code-diff-wipe

Code Diff Wipe.

Agent notes

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

Import
@/remotion/scenes/code-diff-wipe
  • Use when: full-frame scenes, overlays, cards, and reusable video sections.
  • Customize: beforeCode, afterCode, wipeStartFrame, 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 { CodeDiffWipe } from "@/remotion/scenes/code-diff-wipe"; <CodeDiffWipe beforeCode={before} afterCode={after} />

API Reference

PropTypeDescription
beforeCodestringCode shown before the wipe.
afterCodestringCode revealed by the wipe.
wipeStartFramenumberFrame when the wipe begins.

Related