Diff proof

Before and after source changes with semantic emphasis.

0:00 / 0:01

Customize

8

Installation

pnpm odori add component diff-proof

Edit the source in videos/components/diff-proof/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Developer proof
Recommended duration
150 frames · 5s
Minimum duration
72 frames · 2.4s
Entrance
40 frames
Exit
0 frames
Reduced motion
changed lines appear without staggering
Requires
mono font
Content limits
lines ≤ 12, lineLength ≤ 58

Props

PropTypeDefaultRequired
linesDiffLine[]—Yes
titlestring"videos/launch/video.tsx"—
staggerFrames between one changed line and the next.number8—

Related components

All components