SkillsMar 29, 2026·2 min read

Remotion Rule: Sequencing

Remotion skill rule: Sequencing patterns for Remotion - delay, trim, limit duration of items. Part of the official Remotion Agent Skill for programmatic video in React.

TL;DR
Remotion sequencing patterns handle delay, trim, and duration limits for composing video scenes in React code.
§01

What it is

The Remotion Sequencing rule is part of the official Remotion Agent Skill. It provides patterns for controlling when video elements appear, how long they last, and how they overlap in time. Sequencing is the core mechanism for composing multi-element video scenes in Remotion's React-based video framework.

This rule targets developers using Remotion to create programmatic videos who need to control timing precisely. It covers the Sequence component for delaying and trimming, the Series component for sequential playback, and patterns for overlapping elements.

§02

How it saves time or tokens

The rule installs as part of the Remotion Agent Skill and activates automatically when you work on sequencing tasks. Instead of reading through Remotion documentation to figure out timing patterns, your AI assistant already knows the correct components and props for common scenarios.

§03

How to use

  1. Install the Remotion Agent Skill:
npx skills add remotion-dev/skills
  1. The sequencing rule activates automatically when working with timing in a Remotion project.
  1. Use sequencing patterns in your compositions:
import { Sequence, Series, useCurrentFrame } from 'remotion';

export const MyVideo = () => {
  return (
    <>
      {/* Delay an element by 30 frames */}
      <Sequence from={30}>
        <Title text="Hello" />
      </Sequence>

      {/* Limit duration to 60 frames */}
      <Sequence from={0} durationInFrames={60}>
        <Subtitle text="World" />
      </Sequence>
    </>
  );
};
§04

Example

import { Series, Sequence } from 'remotion';

export const VideoTimeline = () => {
  return (
    <Series>
      {/* Each item plays after the previous one ends */}
      <Series.Sequence durationInFrames={90}>
        <IntroScene />
      </Series.Sequence>

      <Series.Sequence durationInFrames={150}>
        <MainContent />
      </Series.Sequence>

      {/* Overlap with previous by 15 frames */}
      <Series.Sequence durationInFrames={60} offset={-15}>
        <OutroScene />
      </Series.Sequence>
    </Series>
  );
};
§05

Related on TokRepo

§06

Common pitfalls

  • Forgetting that Sequence's from prop is relative to the parent composition's timeline, not the global timeline. Nested Sequences offset from their parent's start.
  • Using negative offset in Series without checking that the overlap does not cause elements to render before their content is ready.
  • Setting durationInFrames shorter than the content's animation duration cuts it off abruptly. Match duration to your animation timing.

Frequently Asked Questions

What is the difference between Sequence and Series?+

Sequence places a single element at a specific time with optional duration. Series places multiple elements in sequential order, where each starts after the previous one ends. Series handles timing automatically; Sequence requires manual from and durationInFrames.

How do I make elements overlap in time?+

Use the offset prop on Series.Sequence with a negative value. For example, offset={-15} makes an element start 15 frames before the previous one ends, creating a crossfade opportunity.

Can I nest Sequences inside each other?+

Yes. Nested Sequences offset their from value relative to the parent Sequence. This lets you create complex timing hierarchies where groups of elements are delayed together.

How do I trim the beginning of a clip?+

Use Sequence with a negative from value. For example, from={-30} trims the first 30 frames of the child component. The child still receives frame numbers starting from 30.

How does the Remotion Agent Skill help with sequencing?+

The skill provides your AI coding assistant with pre-loaded knowledge of Remotion sequencing patterns, component APIs, and best practices. It activates automatically when the assistant detects you are working on video timing tasks.

Citations (3)
🙏

Source & Thanks

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

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.

Related Assets