# 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. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use ```bash npx skills add remotion-dev/skills ``` This rule activates automatically when working with transitions in a Remotion project. --- ## Intro Scene transitions and overlays for Remotion using TransitionSeries.. Part of the [Remotion AI Skill](https://tokrepo.com/en/workflows/57997ead-c8fa-409c-916f-28bbc0adc8d9) — the official Agent Skill for programmatic video creation in React. **Best for**: Developers using Remotion for transitions **Works with**: Claude Code, OpenAI Codex, Cursor --- ## Rule Content ## TransitionSeries `` arranges scenes and supports two ways to enhance the cut point between them: - **Transitions** (``) — crossfade, slide, wipe, etc. between two scenes. Shortens the timeline because both scenes play simultaneously during the transition. - **Overlays** (``) — render an effect (e.g. a light leak) on top of the cut point without shortening the timeline. Children are absolutely positioned. ## Prerequisites ```bash npx remotion add @remotion/transitions ``` ## Transition example ```tsx import { TransitionSeries, linearTiming } from "@remotion/transitions"; import { fade } from "@remotion/transitions/fade"; ; ``` ## Overlay example Any React component can be used as an overlay. For a ready-made effect, see the **light-leaks** rule. ```tsx import { TransitionSeries } from "@remotion/transitions"; import { LightLeak } from "@remotion/light-leaks"; ; ``` ## Mixing transitions and overlays Transitions and overlays can coexist in the same ``, but an overlay cannot be adjacent to a transition or another overlay. ```tsx import { TransitionSeries, linearTiming } from "@remotion/transitions"; import { fade } from "@remotion/transitions/fade"; import { LightLeak } from "@remotion/light-leaks"; ; ``` ## Transition props `` requires: - `presentation` — the visual effect (e.g. `fade()`, `slide()`, `wipe()`). - `timing` — controls speed and easing (e.g. `linearTiming()`, `springTiming()`). ## Overlay props `` accepts: - `durationInFrames` — how long the overlay is visible (positive integer). - `offset?` — shifts the overlay relative to the cut point center. Positive = later, negative = earlier. Default: `0`. ## Available transition types Import transitions from their respective modules: ```tsx import { fade } from "@remotion/transitions/fade"; import { slide } from "@remotion/transitions/slide"; import { wipe } from "@remotion/transitions/wipe"; import { flip } from "@remotion/transitions/flip"; import { clockWipe } from "@remotion/transitions/clock-wipe"; ``` ## Slide transition with direction ```tsx import { slide } from "@remotion/transitions/slide"; ; ``` Directions: `"from-left"`, `"from-right"`, `"from-top"`, `"from-bottom"` ## Timing options ```tsx import { linearTiming, springTiming } from "@remotion/transitions"; // Linear timing - constant speed linearTiming({ durationInFrames: 20 }); // Spring timing - organic motion springTiming({ config: { damping: 200 }, durationInFrames: 25 }); ``` ## Duration calculat --- ## Source & Thanks > Created by [Remotion](https://github.com/remotion-dev). Licensed under MIT. > [remotion-dev/skills](https://github.com/remotion-dev/skills) — Rule: `transitions` Part of the [Remotion AI Skill](https://tokrepo.com/en/workflows/57997ead-c8fa-409c-916f-28bbc0adc8d9) collection on TokRepo. --- Source: https://tokrepo.com/en/workflows/367ac310-39d6-44ca-8d72-ecc51453e140 Author: Skill Factory