remotion-best-practices
FeaturedBest practices for Remotion - Video creation in React
AI & Automation 256 stars
21 forks Updated today Apache-2.0
Install
Quality Score: 91/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
## 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:
```bash
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.
```tsx
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>;
};
```
CSS transitions or animations are FORBIDDEN - they will not render correctly.
Tailwind animation class names are FORBIDDEN - they will not render correctly.
Place assets in the `public/` folder at your project root.
Use `staticFile()` to reference files from the `public/` folder.
Add images using the `<Img>` component:
```tsx
import { Img, staticFile } from "remotion";
export const MyComposition = () => {
return <Img src={staticFile("logo.png")} style={{ width: 100, height: 100 }} />;
};
```
Add videos using the `<Video>` component from `@remotion/media`:
```tsx
import { Video } from "@...
Details
- Author
- PrismorSec
- Repository
- PrismorSec/prismor
- Created
- 5 months ago
- Last Updated
- today
- Language
- Python
- License
- Apache-2.0
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
remotion-best-practices
Best practices for Remotion - Video creation in React
3 Updated 4 days ago
arthjean AI & Automation Listed
remotion-best-practices
Best practices for Remotion - Video creation in React
2 Updated yesterday
elrufaiforexfx22-creator AI & Automation Listed
remotion
Use when writing or reviewing Remotion code (video creation in React). Covers compositions, frame-driven animation with interpolate/spring, calculateMetadata, media embedding, captions, transitions, Mediabunny metadata/frame extraction, fonts, charts, 3D, Lottie, and Tailwind.
1 Updated 2 days ago
Mixard