RemotionUI
Primitives

Rotate In

Rotate and fade children into place.

Primitiveatoms

Install
npx remotion-ui@latest add rotate-in

Rotates from degrees to 0 while fading opacity from 0 to 1.

Live preview

AI usage

Install first, then import the copied source component locally.

AI guide

Install

npx remotion-ui@latest add rotate-in

Import after install

@/remotion/primitives/rotate-in
  • Use when: frame-level motion primitives and reusable animation wrappers.
  • Customize: durationInFrames, delayInFrames, degrees, 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 { RotateIn } from "@/remotion/primitives/rotate-in";

<RotateIn degrees={-12} durationInFrames={30}>
  <div>Rotate in</div>
</RotateIn>

API Reference

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

Related