Skip to content
Esc
navigateopen⌘Jpreview

diff-proof

Before and after source changes with semantic emphasis.

The same runtime that renders the export. Scrub to any frame, switch format, and edit the fixture props.

Installation

pnpm odori add @odori/diff-proof

Source is copied into videos/components/diff-proof/ and belongs to your repository. odori diff compares it with upstream later; odori update applies the change you accept. It has no registry dependencies.

Timing contract

Every registry component declares how it behaves in time.odori test fails a cut that violates these.

Family
Developer proof
Aspect ratios
16:9 · 1:1
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