Primitives
Rotate In
Rotate and fade children into place.
Primitiveatoms
Install
npx remotion-ui@latest add rotate-inRotates from degrees to 0 while fading opacity from 0 to 1.
Live preview
AI usage
Install first, then import the copied source component locally.
Install
npx remotion-ui@latest add rotate-inImport 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-uinpm 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
| 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. |
| degrees | number | -10 | Starting rotation in degrees. |