Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

3.6 KB
Raw Blame
---
title: Spring Scale In
description: Words pop in with a soft overshoot scale, like a spring settling into place
component: spring-scale-in
vibe: playful
length: 60
useWhen:
  - "The scene calls for energy and bounce — product launches, celebration moments, fun CTAs."
  - "You want each word to feel like it physically snaps into place, giving kinetic weight to short phrases."
  - "The audience is consumer-facing and a playful entrance matches the brand tone."
avoidWhen:
  - "The brand is serious, corporate, or premium — spring bounce reads as casual; use `scale-down-fade` or `soft-blur-in` for a composed entrance instead."
  - "The text is long — many words bouncing in rapid succession becomes visually noisy; use `staggered-fade-up` for a calmer word-by-word reveal."
  - "You need precise timing for a word to land on a beat — spring physics are frame-accurate but the overshoot makes the visual \"land\" slightly after the spring resolves."
askedAs:
  - "bouncy pop in words"
  - "overshoot scale text"
  - "I want words to pop in with a springy bounce"
  - "energetic launch or celebration text entrance"
  - "fun call to action that bounces into place"
  - "viewer feels excitement as words overshoot and settle"
---

<ComponentPreview name="spring-scale-in" />

<InstallBlock name="spring-scale-in" />

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { SpringScaleIn } from "@/components/remocn/spring-scale-in";

const SpringScaleInScene = () => (
  <SpringScaleIn text="Fast. Crisp. Fluid." staggerDelay={3} scaleFrom={0.7} />
);

export const RemotionRoot = () => (
  <Composition
    id="SpringScaleIn"
    component={SpringScaleInScene}
    durationInFrames={60}
    fps={30}
    width={1280}
    height={720}
  />
);
```

### With Backdrop

The component renders transparent — supply the background via `Backdrop`. It ships single-theme; edit the copied file to re-theme colors.

Pair with `Backdrop` to place the text inside a full-frame fill with a rounded, shadowed content frame:

```tsx
import { Composition } from "remotion";
import { SpringScaleIn } from "@/components/remocn/spring-scale-in";
import { Backdrop } from "@/components/remocn/backdrop";

const SpringScaleInScene = () => (
  <Backdrop fill={{ type: "color", value: "#ffffff" }}>
    <SpringScaleIn text="Fast. Crisp. Fluid." staggerDelay={3} scaleFrom={0.7} />
  </Backdrop>
);

export const RemotionRoot = () => (
  <Composition
    id="SpringScaleIn"
    component={SpringScaleInScene}
    durationInFrames={60}
    fps={30}
    width={1280}
    height={720}
  />
);
```

<PropsTable title="Props"
  rows={[
    {
      name: "text",
      type: "string",
      required: true,
      description: "The text to animate",
    },
    {
      name: "staggerDelay",
      type: "number",
      default: "3",
      description: "Per-word delay in frames between each word popping in.",
    },
    {
      name: "scaleFrom",
      type: "number",
      default: "0.7",
      description: "Starting scale each word grows from. The easing overshoots slightly past 1 before settling.",
    },
    {
      name: "fontSize",
      type: "number",
      default: "72",
      description: "Font size in pixels",
    },
    {
      name: "fontWeight",
      type: "number",
      default: "600",
      description: "CSS font-weight",
    },
    {
      name: "color",
      type: "string",
      default: "\"#171717\"",
      description: "Text color (any valid CSS color)",
    },
    {
      name: "className",
      type: "string",
      description: "Optional className passed to the underlying span",
    },
  ]}
/>