About
Accept Diff Live Preview is a code animation for Remotion videos. Explains commands, code changes and developer workflows. Plays 6 seconds in 16:9, 9:16 and 1:1, with editable text, colors, fonts and paint background.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Accept Diff Live Preview to your project and fits it to your theme.
Code
How Accept Diff Live Preview is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
// Built with Remotion - https://remotion.pro/license
import { Composition } from "remotion";
import { Component } from "./video/mg-code-diff-accept/mg-code-diff-accept";
import { schema, defaults } from "./video/mg-code-diff-accept/mg-code-diff-accept.schema";
export const AcceptDiffLivePreviewComposition = () => (
<Composition
id="mg-code-diff-accept"
component={Component}
schema={schema}
defaultProps={defaults}
durationInFrames={180}
fps={30}
width={1920}
height={1080}
/>
);








