Skip to content
SkillImportedContains scripts

remotion

Best practices and comprehensive guide for Remotion - programmatic video creation in React with animations, compositions, and media handling

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Read this before you download

Talqeen never runs anything from this item. But what you download runs on your machine if you run it or let Claude Code run it, so read the files first.

  • The item has script files.

Files: 32 · Size: 80 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/skills/remotion/

    mkdir -p .claude/skills && unzip ~/Downloads/remotion.zip -d .claude/skills

  • For your account on the whole machine

    It goes in: ~/.claude/skills/remotion/

    mkdir -p ~/.claude/skills && unzip ~/Downloads/remotion.zip -d ~/.claude/skills

Instructions

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

  • references/animations.md - Fundamental animation techniques for Remotion
  • references/timing.md - Interpolation curves: linear, easing, spring animations
  • references/sequencing.md - Delay, trim, and limit duration of items
  • references/trimming.md - Cut the beginning or end of animations

Compositions & Metadata

  • references/compositions.md - Defining compositions, stills, folders, default props
  • references/calculate-metadata.md - Dynamically set composition duration, dimensions, and props

Assets & Media

  • references/assets.md - Importing images, videos, audio, and fonts
  • references/images.md - Embedding images using the Img component
  • references/videos.md - Embedding videos with trimming, volume, speed, looping, pitch
  • references/audio.md - Using audio and sound with trimming, volume, speed, pitch
  • references/gifs.md - Displaying GIFs synchronized with timeline

Text & Typography

  • references/text-animations.md - Typography and text animation patterns
  • references/measuring-text.md - Measuring text dimensions, fitting text, checking overflow
  • references/fonts.md - Loading Google Fonts and local fonts

Captions & Transcription

  • references/display-captions.md - Displaying captions with TikTok-style pages and word highlighting
  • references/import-srt-captions.md - Importing .srt subtitle files using @remotion/captions
  • references/transcribe-captions.md - Transcribing audio to generate captions

Data Visualization

  • references/charts.md - Chart and data visualization patterns

Advanced Features

  • references/3d.md - 3D content using Three.js and React Three Fiber
  • references/lottie.md - Embedding Lottie animations
  • references/transitions.md - Scene transition patterns

Styling & Layout

  • references/tailwind.md - Using TailwindCSS in Remotion
  • references/measuring-dom-nodes.md - Measuring DOM element dimensions

Media Processing (Mediabunny)

  • references/can-decode.md - Check if a video can be decoded by the browser
  • references/extract-frames.md - Extract frames from videos at specific timestamps
  • references/get-audio-duration.md - Getting the duration of an audio file
  • references/get-video-dimensions.md - Getting the width and height of a video file
  • references/get-video-duration.md - Getting the duration of a video file

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

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

Resources

Files

  • folderreferences73 KBscript
    • folderassets7.8 KBscript
      • foldercharts3.3 KBscript
        • bar-chart.tsx3.3 KBscript
      • text-animations-typewriter.tsx2.1 KBscript
      • text-animations-word-highlight.tsx2.3 KBscript
    • 3d.md2.2 KB
    • animations.md790 B
    • assets.md1.6 KB
    • audio.md3.7 KB
    • calculate-metadata.md2.9 KB
    • can-decode.md1.5 KB
    • charts.md1.7 KB
    • compositions.md3.4 KB
    • display-captions.md3.6 KB
    • extract-frames.md5.4 KB
    • fonts.md3.4 KB
    • get-audio-duration.md1.3 KB
    • get-video-dimensions.md1.6 KB
    • get-video-duration.md1.3 KB
    • gifs.md3.8 KB
    • images.md2.7 KB
    • import-srt-captions.md2.1 KB
    • lottie.md1.7 KB
    • measuring-dom-nodes.md974 B
    • measuring-text.md2.9 KB
    • sequencing.md2.3 KB
    • tailwind.md422 B
    • text-animations.md700 B
    • timing.md3.8 KB
    • transcribe-captions.md850 B
    • transitions.md3.6 KB
    • trimming.md1.2 KB
    • videos.md3.4 KB
  • LICENSE1 KB
  • SKILL.md6.2 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookA script file

    In file cli-tool/components/skills/video/remotion/references/assets/charts/bar-chart.tsx

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • SkillImported

    3d-web-experience

    Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences. Use when: 3D webs

    MITFiles: 1

  • SkillImported

    accessibility

    Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

    MITFiles: 2

  • SkillImported

    accessibility-auditor

    Web accessibility specialist for WCAG compliance, ARIA implementation, and inclusive design. Use when auditing websites for accessibility issues, implementing WCAG 2.1 AA/AAA standards, testing with screen readers, or ensuring ADA complianc

    MITFiles: 1

  • SkillImported

    accessibility-compliance

    Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive

    MITFiles: 5

  • SkillImported

    algolia-search

    Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning Use when: adding search to, algolia, instantsearch, search api, search functionality.

    MITFiles: 1

  • SkillImported

    angular

    Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns.

    MITFiles: 3