RemotionUI

Scale In

Grow into place from just under full size, with an optional spring and exit.

PrimitivePrimitives

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

Grows from from to full size, with opacity leading the scale.

from stays close to 1 on purpose: a card scaling up from 0.5 reads as a zoom, which is a camera move rather than an arrival. Anything below ~0.85 wants spring behind it.

Anything below ~0.85 wants a spring behind it, or the growth reads as a camera zoom.

Agent notes

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

Import
@/remotion/primitives/scale-in
  • Use when: frame-level motion primitives and reusable animation wrappers.
  • Customize: durationInFrames, delayInFrames, spring, exit, 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 { ScaleIn } from "@/remotion/primitives/scale-in"; <ScaleIn from={0.9} spring="snappy"> <img src={staticFile("logo.png")} /> </ScaleIn>

API Reference

PropTypeDescription
children*ReactNodeContent to animate.
durationInFramesnumberLength of the enter animation in frames.
delayInFramesnumberFrames to wait before the animation starts.
spring"smooth" | "snappy" | "bouncy" | Partial<SpringConfig> | booleanDrive the entrance with a spring instead of the ease-out curve.
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.
fromnumberScale at the start of the entrance.
originTransformOriginCorner or edge the scale grows out of.

Related