State transition

Before, processing, and resolved product states.

0:00 / 0:01

Customize

Installation

pnpm odori add component state-transition

Edit the source in videos/components/state-transition/. 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
Narrative
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.string—Yes
duringWhat it looks like while the work happens.string—Yes
toWhere it resolves.string—Yes
labelstring——

Related components

All components