Skip to content
Esc
navigateopen⌘Jpreview

code-walkthrough

Progressive code reveal with authored focal regions.

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

Installation

pnpm odori add @odori/code-walkthrough

Source is copied into videos/components/code-walkthrough/ 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
240 frames · 8s
Minimum duration
120 frames · 4s
Entrance
28 frames
Exit
0 frames
Reduced motion
all steps show without dimming
Requires
mono font
Content limits
lines ≤ 16, lineLength ≤ 62, steps ≤ 4

Props

PropTypeDefaultRequired
codestringYes
stepsWalkthroughStep[]Yes
titlestring"videos/launch/video.tsx"
holdFrames each step holds before the next takes focus.number60