Code Diff Wipe
Code Diff Wipe for Remotion.
SceneScenes
code-diff-wipe30fps · 960×540
Install
$ npx remotion-ui@latest add code-diff-wipeCode 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-uinpm package; it is copied into your project.
Usage
Example
import { CodeDiffWipe } from "@/remotion/scenes/code-diff-wipe";
<CodeDiffWipe beforeCode={before} afterCode={after} />API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| beforeCode | string | - | Code shown before the wipe. |
| afterCode | string | - | Code revealed by the wipe. |
| wipeStartFrame | number | - | Frame when the wipe begins. |