Scale Down Fade
A restrained headline entrance: the text fades in while scaling down slightly into place, holds, then scales down a touch and fades out gently at the end. Nothing bouncy. A free, MIT-licensed Remotion text animation.
In Remotion, Scale Down Fade gives a headline a restrained, confident entrance: it fades in while settling from 104% to its own size, holds, then scales down a touch and fades out gently at the end of the clip. Use it when bounce or blur would feel off-brand.
$ pnpm dlx shadcn@latest add @remocn/scale-down-fadeHow to make a restrained scale-down settle and gentle fade exit in Remotion
A calm headline that settles in, holds and fades out with no overshoot is one component, entrance and exit included:
npx shadcn@latest add @remocn/scale-down-fade- Entrance: 16 frames at 30 fps. Opacity 0 to 1, scale 1.04 to 1 and an 8 px rise, on an ease-out
Easing.bezier(0.22, 1, 0.36, 1). Nospring(), so nothing bounces. - Exit: built in, over the last 11 frames of the
Sequence. Scale 1 to 0.94, an 8 px lift and a fade out, on an ease-inEasing.bezier(0.64, 0, 0.78, 0). - Hold: everything in between. To change it, change the length of the
Sequenceor composition; the exit always ends on its last frame. - The entry and exit lengths and the scale amounts are not props. Move or stretch the entrance and the exit with the
timingprop (idsenterandexit), or edit the numbers in the copied file.
For an overshoot bounce use Spring Scale In.
Good to know
- Length: the listed 90 frames at 30 fps (180 at 60 fps) is the default clip: 16 frames in, a hold, 11 frames out. The exit follows the clip end, so the motion fits any
Sequenceof 27 frames or more, and a longer one only holds the text longer. Numbers intimingare 30 fps frames, see Frame rate. - Installs:
remotionfrom npm, plus the remocn helpersglide,frame-rateandtimeline. No other npm dependencies. The shadcn CLI copies the source into your project. - Font: loads no font. It uses
var(--font-geist-sans)with a system sans fallback; setclassNameto apply your own.
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={180}
fps={60}
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={180}
fps={60}
width={1280}
height={720}
/>
);Props6
| Prop | Type | Default |
|---|---|---|
| textrequired | string— The text to animate | |
| fontSize | number72 Font size in pixels | |
| fontWeight | number600 CSS font-weight | |
| color | string"#171717" Text color (any valid CSS color) | |
| speed | number1 Playback speed of the enter and exit; at 1 the exit ends on the last frame of the clip | |
| className | string— Optional className passed to the underlying span | |
- textrequiredstring
The text to animate
- fontSizenumber
Font size in pixels
Default
72 - fontWeightnumber
CSS font-weight
Default
600 - colorstring
Text color (any valid CSS color)
Default
"#171717" - speednumber
Playback speed of the enter and exit; at 1 the exit ends on the last frame of the clip
Default
1 - classNamestring
Optional className passed to the underlying span