Esta página se muestra en inglés. Una traducción al español está en curso.
SkillsMar 29, 2026·2 min de lectura

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.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Remotion Rule: Sequencing
Comando de instalación directa
npx -y tokrepo@latest install fda3b2ce-7591-4a64-aed6-4e6d8d93d4d0 --target codex

Ejecutar después de confirmar el plan con dry-run.

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.

Preguntas frecuentes

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.

Referencias (3)
🙏

Fuente y agradecimientos

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

Part of the Remotion AI Skill collection on TokRepo.

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados