Skip to content
Esc
navigateopen⌘Jpreview

state-transition

Before, processing, and resolved product states.

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

Installation

pnpm odori add @odori/state-transition

Source is copied into videos/components/state-transition/ 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
Narrative
Aspect ratios
16:9 · 9:16 · 1:1
Recommended duration
150 frames · 5s
Minimum duration
120 frames · 4s
Entrance
14 frames
Exit
0 frames
Reduced motion
states cut without a spinner
Requires
sans font
Content limits
from ≤ 24, during ≤ 32, to ≤ 24

Props

PropTypeDefaultRequired
fromThe state the product starts in.stringYes
duringWhat it looks like while the work happens.stringYes
toWhere it resolves.stringYes
labelstring