Primitives
Spring In
Spring-based scale and opacity entrance animation.
Primitiveatoms
Install
npx remotion-ui@latest add spring-inScales and fades children in using Remotion's spring() with the shared springSnappy config.
Live preview
AI usage
Install first, then import the copied source component locally.
Install
npx remotion-ui@latest add spring-inImport after install
@/remotion/primitives/spring-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
import { SpringIn } from "@/remotion/primitives/spring-in";
<SpringIn durationInFrames={40}>
<div>Bouncy entrance</div>
</SpringIn>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. |