skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

remotion

Programmatic video creation with React

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/remotion-dev/skills --skill remotion

Overview

What This Skill Does

Remotion is a framework for creating videos programmatically using React. You write components and animations in code, then render them to MP4 or other formats. It covers compositing, sequencing, audio, captions, 3D, and data-driven visuals.

Application

When to use this Skill

Documentation

Show Skills.md file

When to use

Use this skills whenever you are dealing with Remotion code to obtain the domain-specific knowledge.

New project setup

When in an empty folder or workspace with no existing Remotion project, scaffold one using:

npx create-video@latest --yes --blank --no-tailwind my-video

Replace my-video with a suitable project name.

Designing a video

Animate properties using useCurrentFrame() and interpolate(). Use Easing to customize the timing of the animation.

import { useCurrentFrame, Easing } from "remotion";

export const FadeIn = () => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  const opacity = interpolate(frame, [0, 2 * fps], [0, 1], {
    extrapolateRight: "clamp",
    extrapolateLeft: "clamp",
    easing: Easing.bezier(0.16, 1, 0.3, 1),
  });

  return <div style={{ opacity }}>Hello World!</div>;
};
Lines 1 - 34 of 333

Recommendations

Explore other random skills

All skillsMy patterns