Scale Down Fade

Subtle premium settle-in with a restrained scale-down fade on exit

Installation

$ pnpm dlx shadcn@latest add @remocn/scale-down-fade

Usage

// src/Root.tsx
import { Composition } from "remotion";
import { ScaleDownFade } from "@/components/remocn/scale-down-fade";

const ScaleDownFadeScene = () => (
  <ScaleDownFade text="Quietly refined." fontSize={72} />
);

export const RemotionRoot = () => (
  <Composition
    id="ScaleDownFade"
    component={ScaleDownFadeScene}
    durationInFrames={90}
    fps={30}
    width={1280}
    height={720}
  />
);

The text settles in, holds steady in the middle of the composition, then scales down and fades out near the end—so the duration should leave room for the exit animation.

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:

import { Composition } from "remotion";
import { ScaleDownFade } from "@/components/remocn/scale-down-fade";
import { Backdrop } from "@/components/remocn/backdrop";

const ScaleDownFadeScene = () => (
  <Backdrop fill={{ type: "color", value: "#ffffff" }}>
    <ScaleDownFade text="Quietly refined." fontSize={72} />
  </Backdrop>
);

export const RemotionRoot = () => (
  <Composition
    id="ScaleDownFade"
    component={ScaleDownFadeScene}
    durationInFrames={90}
    fps={30}
    width={1280}
    height={720}
  />
);

Props

PropTypeDefaultDescription
textrequired
stringThe text to animate
fontSize
number72Font size in pixels
fontWeight
number600CSS font-weight
color
string"#171717"Text color (any valid CSS color)
className
stringOptional className passed to the underlying span