RemotionUI

Spring In

Spring-driven scale and rise, with snappy, smooth and bouncy presets.

PrimitivePrimitives

spring-in30fps · 960×540
Install
$ npx remotion-ui@latest add spring-in

Scale and a short rise driven by spring(), so the element carries weight into its stop instead of easing to a halt.

config="bouncy" overshoots — both the scale and the rise pass their resting value and settle back, which is the reason to use a spring at all.

`config="bouncy"` overshoots both the scale and the rise, then settles — the reason to use a spring at all.

Agent notes

Install first, then import the copied source component locally. AI guide →

Import
@/remotion/primitives/spring-in
  • Use when: frame-level motion primitives and reusable animation wrappers.
  • Customize: durationInFrames, delayInFrames, exit, exitInFrames, 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

Example
import { SpringIn } from "@/remotion/primitives/spring-in"; <SpringIn config="bouncy" durationInFrames={40}> <div>Physical entrance</div> </SpringIn>

API Reference

PropTypeDescription
children*ReactNodeContent to animate.
durationInFramesnumberLength of the enter animation in frames.
delayInFramesnumberFrames to wait before the animation starts.
exitbooleanAnimate back out, landing on the last frame of the surrounding Sequence.
exitInFramesnumberLength of the exit. Exits are shorter than entrances.
exitAtInFramesnumberFrame the exit starts on, overriding the end-of-window timing.
exitTravelnumberShare of the enter distance the exit travels.
exitDirection"reverse" | "continue"reverse leaves the way it came in, continue carries on through.
blockbooleanFill the parent's width instead of shrink-wrapping the child.
styleCSSPropertiesStyles merged onto the wrapper.
config"smooth" | "snappy" | "bouncy" | Partial<SpringConfig>Spring preset, or an override on the snappy config.
fromnumberScale at the start of the entrance.
travelnumberHow far it rises as it springs.
originTransformOriginPoint the scale grows from.

Related