Scene Transitions
Add entrance and exit animations to any scene using the transition-in: and transition-out: config keys. Animations are baked into the scene's own duration - no extra frames are added and the total video length is unchanged.
Syntax
Add transition-in: and/or transition-out: to any scene's config block, alongside other keys like variant: and duration:.
--- text --- # First Scene --- text --- variant: bounce transition-in: zoom-in transition-out: zoom-out # Second Scene --- panel --- variant: stats transition-in: zoom-in # Revenue $48,200 +12% from last month
Available variants
Two CSS-based variants are supported for transition-in: and transition-out::
Both keys accept the same variant names. Mix and match freely:
--- notifications --- variant: bottom-right duration: 8s transition-in: zoom-in transition-out: zoom-out # Build succeeded deploy-prod finished in 42s
Legacy WebGL transitions (deprecated)
The standalone --- transition --- scene type is still supported for backwards compatibility but is deprecated. It inserts a dedicated transition scene between two scenes using WebGL fragment shaders. Use transition-in: / transition-out: for new videos.
--- text --- # Scene before --- transition --- legacy - inserts extra scene variant: dissolve --- text --- # Scene after
10 WebGL effects are available in the legacy transition type only: