SkillsMar 29, 2026·2 min read

Remotion Rule: Transitions

Remotion skill rule: Scene transitions and overlays for Remotion using TransitionSeries.. Part of the official Remotion Agent Skill for programmatic video in React.

TL;DR
This Remotion skill rule teaches how to build scene transitions using TransitionSeries with fade, slide, wipe, and custom easing.
§01

What it is

This is a Remotion skill rule that covers scene transitions and overlays for programmatic video production. Remotion lets you create videos using React components, and this rule teaches the TransitionSeries API for building smooth transitions between scenes: fade, slide, wipe, and custom easing curves. It is a configuration file that guides AI coding agents in producing correct transition code.

Video producers and developers using Remotion for programmatic video creation benefit most. Instead of manually keyframing transitions in a video editor, this rule enables declarative transition definitions in React code.

§02

How it saves time or tokens

Transitions are repetitive to implement from scratch. The TransitionSeries API abstracts the timing, easing, and composition logic into a clean declarative syntax. This rule provides the patterns and examples so an AI coding agent produces correct transition code on the first attempt, avoiding trial-and-error with the Remotion API. Common transitions (fade in/out, slide left/right, crossfade) are covered with ready-to-use code.

§03

How to use

  1. Add the Remotion transitions rule to your project's AI configuration.
  1. Install the Remotion transitions package:
npm install @remotion/transitions
  1. Use TransitionSeries in your composition:
import { TransitionSeries, linearTiming } from '@remotion/transitions';
import { fade } from '@remotion/transitions/fade';
import { slide } from '@remotion/transitions/slide';

export const MyVideo: React.FC = () => {
  return (
    <TransitionSeries>
      <TransitionSeries.Sequence durationInFrames={90}>
        <SceneOne />
      </TransitionSeries.Sequence>
      <TransitionSeries.Transition
        presentation={fade()}
        timing={linearTiming({ durationInFrames: 30 })}
      />
      <TransitionSeries.Sequence durationInFrames={90}>
        <SceneTwo />
      </TransitionSeries.Sequence>
    </TransitionSeries>
  );
};
§04

Example

import { springTiming } from '@remotion/transitions';
import { wipe } from '@remotion/transitions/wipe';
import { slide } from '@remotion/transitions/slide';

// Slide transition with spring easing
<TransitionSeries.Transition
  presentation={slide({ direction: 'from-left' })}
  timing={springTiming({ config: { damping: 200 }, durationInFrames: 30 })}
/>

// Wipe transition
<TransitionSeries.Transition
  presentation={wipe({ direction: 'from-top-left' })}
  timing={linearTiming({ durationInFrames: 20 })}
/>

// Custom overlay transition
<TransitionSeries.Transition
  presentation={fade()}
  timing={linearTiming({ durationInFrames: 15 })}
/>
§05

Related on TokRepo

§06

Common pitfalls

  • Transition duration must not exceed the adjacent scene durations. If a 30-frame transition sits between two 20-frame scenes, the render will fail.
  • TransitionSeries replaces the standard Series component for scenes that need transitions. Do not mix them in the same composition.
  • Spring timing with low damping values creates bouncy transitions that may look unprofessional. Use linearTiming for clean, predictable transitions unless bounce is intentional.

Frequently Asked Questions

What transition types does Remotion support?+

Remotion includes built-in presentations for fade, slide, wipe, flip, and clock wipe. Each accepts configuration options for direction, easing, and duration. You can also create custom presentation components.

Can I combine multiple transitions in one video?+

Yes. Use TransitionSeries with multiple Transition elements between Sequence elements. Each transition can use a different presentation type (fade between scene 1-2, slide between scene 2-3, etc.).

Does TransitionSeries work with Remotion Player?+

Yes. TransitionSeries renders identically in the Remotion Player (browser preview) and during final video rendering. You can preview transitions in real time during development.

Can I create custom transition effects?+

Yes. Remotion allows custom presentation components that receive a progress value (0 to 1) and render the transition effect. This enables any visual effect expressible in React/CSS as a scene transition.

What is the difference between linearTiming and springTiming?+

linearTiming produces constant-speed transitions. springTiming uses physics-based easing that starts fast and decelerates, producing more natural motion. Spring timing accepts config options for damping, stiffness, and mass.

Citations (3)
🙏

Source & Thanks

Created by Remotion. Licensed under MIT. remotion-dev/skills — Rule: transitions

Part of the Remotion AI Skill collection on TokRepo.

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.