Fade In
Fade-in animation for Remotion. Install with npx remotion-ui@latest add fade-in.
PrimitivePrimitives
fade-in30fps · 960×540
Install
$ npx remotion-ui@latest add fade-inAnimates opacity from 0 to 1 over durationInFrames.
Agent notes
Install first, then import the copied source component locally. AI guide →
Import
@/remotion/primitives/fade-in- Use when: frame-level motion primitives and reusable animation wrappers.
- Customize: durationInFrames, delayInFrames, plus copied source for timing, layout, colors, and typography.
- Rule: do not import this component from the
remotion-uinpm package; it is copied into your project.
Usage
Example
import { FadeIn } from "@/remotion/primitives/fade-in";
<FadeIn durationInFrames={30}>
<div>Hello world</div>
</FadeIn>API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| children* | ReactNode | - | Content to animate. |
| durationInFrames | number | 30 | Length of the enter animation in frames. |
| delayInFrames | number | 0 | Frames to wait before the animation starts. |