Transitionsv4.0.53
The <TransitionSeries> component lets you animate between absolutely positioned scenes. Between any two sequences, you can place a <TransitionSeries.Transition> or a <TransitionSeries.Overlay>.
Transitions
A transition animates from one scene to the next. During the transition, both scenes render simultaneously and the total duration is shortened.
SlideTransition.tsximport {linearTiming ,TransitionSeries } from "@remotion/transitions"; import {slide } from "@remotion/transitions/slide"; constBasicTransition = () => { return ( <TransitionSeries > <TransitionSeries .Sequence durationInFrames ={40}> <Letter color ="#0b84f3">A</Letter > </TransitionSeries .Sequence > <TransitionSeries .Transition presentation ={slide ()}timing ={linearTiming ({durationInFrames : 30 })} /> <TransitionSeries .Sequence durationInFrames ={60}> <Letter color ="pink">B</Letter > </TransitionSeries .Sequence > </TransitionSeries > ); };
Enter and exit animations
You can also animate the entrance or exit of a scene by putting a transition first or last in the <TransitionSeries>.
Duration
In the above example, A is visible for 40 frames, B for 60 frames and the duration of the transition is 30 frames.
During this time, both slides are rendered. This means the total duration of the animation is 60 + 40 - 30 = 70.
Getting the duration of a transition
Call getDurationInFrames({fps}) on the timing. See Getting the duration of a timing.
Overlaysv4.0.415
An <TransitionSeries.Overlay> renders children on top of the junction between two sequences without shortening the timeline. The sequences remain at full length — the total duration stays the same.
This is useful for effects like light leaks, flashes, or other visual elements that should appear over a cut without affecting timing. The overlay is centered on the cut point by default.
This example uses lightLeak(), which requires @remotion/effects v4.0.500 or later.
OverlayExample.tsximport {lightLeak } from '@remotion/effects/light-leak'; import {TransitionSeries } from '@remotion/transitions'; import {interpolate ,Solid ,useCurrentFrame ,useVideoConfig } from 'remotion'; constLightLeakOverlay :React .FC = () => { constframe =useCurrentFrame (); const {durationInFrames ,height ,width } =useVideoConfig (); return ( <Solid width ={width }height ={height }effects ={[lightLeak ({progress :interpolate (frame , [0,durationInFrames - 1], [0, 1], {extrapolateLeft : 'clamp',extrapolateRight : 'clamp', }), }), ]} /> ); }; constOverlayExample = () => { return ( <TransitionSeries > <TransitionSeries .Sequence durationInFrames ={60}> <Fill color ="#0b84f3" /> </TransitionSeries .Sequence > <TransitionSeries .Overlay durationInFrames ={20}> <LightLeakOverlay /> </TransitionSeries .Overlay > <TransitionSeries .Sequence durationInFrames ={60}> <Fill color ="pink" /> </TransitionSeries .Sequence > </TransitionSeries > ); };
See <TransitionSeries.Overlay> for full API details.
Presentations
A presentation determines the visual of the animation.
blurSlide()bookFlip()clockWipe()crosswarp()crossZoom()cube()dissolve()dreamyZoom()fade()filmBurn()flip()iris()linearBlur()none()pushCut()ripple()slide()swap()wipe()zoomBlur()zoomInOut()Timings
A timing determines how long the animation takes and the animation curve.
springTiming()spring()linearTiming()Audio transitions
See here how to include audio effects in your transitions.
Rules
1 A transition must not be longer than the duration of the previous or next sequence.
2 Two transitions cannot be adjacent.
3 Two overlays cannot be adjacent.
4 A transition and an overlay cannot be adjacent — they occupy the same slot between sequences.
5 There must be at least one sequence before or after a transition or overlay.