Scale Down Fade
Subtle premium settle-in with a restrained scale-down fade on exit
Installation
$ pnpm dlx shadcn@latest add @remocn/scale-down-fadeUsage
// 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
| Prop | Type | Default | Description |
|---|---|---|---|
textrequired | string | — | The text to animate |
fontSize | number | 72 | Font size in pixels |
fontWeight | number | 600 | CSS font-weight |
color | string | "#171717" | Text color (any valid CSS color) |
className | string | — | Optional className passed to the underlying span |