remotion-best-practices

Provides best-practice rules for building programmatic videos in React with Remotion.

Updated Sep 5, 2026
One-click install
npx skills add https://github.com/SillyHippy/zo-skills --skill remotion-best-practices-sillyhippy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: remotion-best-practices
Source: https://github.com/SillyHippy/zo-skills/tree/main/skills/remotion-best-practices
Command: npx skills add https://github.com/SillyHippy/zo-skills --skill remotion-best-practices-sillyhippy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Writing Remotion video code without domain knowledge leads to common rendering bugs like flickering animations, unloaded fonts, and broken asset paths. This Skill supplies the domain-specific rules needed to write correct Remotion compositions the first time. ## Core Features & Use Cases - Animation Rules: Enforces frame-driven animations via useCurrentFrame() and spring/interpolate patterns instead of forbidden CSS transitions. - Media Handling: Covers embedding videos, audio, images, GIFs, Lottie files, and fonts with correct trimming, volume, and loading behavior. - Captions & Metadata: Guides TikTok-style caption display, SRT import, transcription options, and dynamic composition metadata via calculateMetadata. - Use Case: When asked to create an animated bar chart video or a captioned social media clip in React, the Skill supplies the exact Remotion patterns, components, and pitfalls to avoid. ## Quick Start Use the remotion-best-practices skill to create an animated video composition with a title fade-in and background music.

Frequently Asked Questions about remotion-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I animate elements in Remotion?▼

Drive all animations with the useCurrentFrame() hook combined with interpolate() or spring(). CSS transitions, CSS animations, and Tailwind animation classes are forbidden because they do not render correctly during video export.

How do I add audio or video to a Remotion composition?▼

Use the Audio and Video components from @remotion/media with staticFile() for local files or remote URLs directly. They support trimming with trimBefore/trimAfter, volume callbacks, playbackRate, looping, and pitch adjustment via toneFrequency.

Can I use TailwindCSS with Remotion?▼

Yes, TailwindCSS works in Remotion once installed and enabled per the official Remotion docs. However, transition-* and animate-* utility classes must be avoided since all motion must be driven by useCurrentFrame().

Why does my Remotion video flicker during rendering?▼

Flickering occurs when animations are not driven by useCurrentFrame(), such as CSS animations, useFrame() from React Three Fiber, or third-party library animations. Disable external animation systems and compute all motion from the current frame.

How do I display captions with word highlighting in Remotion?▼

Use createTikTokStyleCaptions() from @remotion/captions to group captions into pages, render each page in a Sequence, and highlight the active token by comparing its timestamps against the current frame time.