remotion

Programmatic video creation using React components with frame-based animations, media handling, and data visualization. Frame-driven animations using useCurrentFrame() hook, interpolation curves, and easing functions for smooth motion control Comprehensive asset support including images, videos, audio, GIFs, fonts, and Lottie animations with media processing capabilities Built-in features for captions (SRT import, transcription, word highlighting), charts, 3D content via Three.js, and text measurement utilities Composition system with dynamic metadata calculation, default props, and scene transitions for complex video sequences Tailwind CSS integration and DOM node measurement for styling and layout within video compositions

INSTALLATION
npx skills add https://github.com/davila7/claude-code-templates --skill remotion
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

Remotion - Video Creation in React

Comprehensive skill set for creating programmatic videos using Remotion, a framework for creating videos programmatically using React.

When to use

Use this skill whenever you are dealing with Remotion code to obtain domain-specific knowledge about:

  • Creating video compositions with React components
  • Animating elements using frame-based animations
  • Working with audio, video, and image assets
  • Building charts and data visualizations
  • Implementing text animations and captions
  • Using 3D content with Three.js
  • Applying transitions and sequencing
  • Integrating Tailwind CSS and Lottie animations

Core Concepts

Remotion allows you to create videos using:

  • React Components: Build video content with familiar React syntax
  • Frame-based Animations: All animations driven by useCurrentFrame() hook
  • Compositions: Define video compositions with duration, dimensions, and props
  • Assets: Import and manipulate images, videos, audio, and fonts
  • Rendering: Export videos programmatically with customizable settings

Key Features

  • Frame-by-frame control over animations
  • Dynamic metadata calculation
  • Media processing (trimming, volume, speed, pitch)
  • Caption generation and display
  • Data visualization with charts
  • 3D content integration
  • Professional text animations
  • Scene transitions and sequencing

How to use

Read individual rule files for detailed explanations and code examples:

Core Animation & Timing

Compositions & Metadata

Assets & Media

Text & Typography

Captions & Transcription

Data Visualization

Advanced Features

Styling & Layout

Media Processing (Mediabunny)

Quick Start Example

import { useCurrentFrame, useVideoConfig, interpolate } from "remotion";

export const MyComposition = () => {

  const frame = useCurrentFrame();

  const { fps } = useVideoConfig();

  const opacity = interpolate(frame, [0, 2 * fps], [0, 1], {

    extrapolateRight: 'clamp',

  });

  return (

    <div style={{ opacity }}>

      <h1>Hello Remotion!</h1>

    </div>

  );

};

Best Practices

  • **Always use useCurrentFrame()** - Drive all animations from the current frame
  • Avoid CSS animations - They won't render correctly in videos
  • Think in seconds - Multiply time in seconds by fps for frame calculations
  • Use interpolate for smooth animations - Built-in interpolation with easing functions
  • Clamp extrapolation - Prevent values from exceeding intended ranges
  • Test frequently - Preview in Remotion Studio before rendering

Resources

  • Community: Discord and GitHub Discussions
  • License: MIT
BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card