SuperAPI AI Directory

remotion-best-practices

Frontend & websites

View repository

Updated 10-15 17:29

About this skill

When to Use

When working with Remotion code, use this skill to get domain-specific knowledge and best practices.

How to Use

Read the individual rule files for detailed explanations and code examples:

Core Concepts

Media Handling

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

Advanced Features

Text and Typography

Video Processing Tools

Configuration and Optimization

Important Notes

  • All animations must be driven by the useCurrentFrame() hook
  • Do not use CSS transitions or animations - they will not render correctly
  • Do not use Tailwind animation class names - they will not render correctly
  • Write animations in seconds and multiply by the useVideoConfig() value in fps value in