RemotionUI
Primitives

Fade In

Opacity fade-in animation primitive.

Primitiveatoms

Install
npx remotion-ui@latest add fade-in

Animates opacity from 0 to 1 over durationInFrames.

Live preview

AI usage

Install first, then import the copied source component locally.

AI guide

Install

npx remotion-ui@latest add fade-in

Import after install

@/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-ui npm package; it is copied into your project.

Usage

import { FadeIn } from "@/remotion/primitives/fade-in";

<FadeIn durationInFrames={30}>
  <div>Hello world</div>
</FadeIn>

API Reference

PropTypeDescription
children*ReactNodeContent to animate.
durationInFramesnumberLength of the enter animation in frames.
delayInFramesnumberFrames to wait before the animation starts.

Related