Scale Down Fade
Subtle premium settle-in with a restrained scale-down fade on exit
$ 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}
/>
);Props5
| 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) | |
| 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" - classNamestring
Optional className passed to the underlying span