Micro Scale Fade
A calm, tiny scale pop for subtle premium polish on labels and headings
Installation
$ pnpm dlx shadcn@latest add @remocn/micro-scale-fadeUsage
// src/Root.tsx
import { Composition } from "remotion";
import { MicroScaleFade } from "@/components/remocn/micro-scale-fade";
const MicroScaleFadeScene = () => (
<MicroScaleFade text="Welcome to motion." scaleFrom={0.96} />
);
export const RemotionRoot = () => (
<Composition
id="MicroScaleFade"
component={MicroScaleFadeScene}
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:
import { Composition } from "remotion";
import { MicroScaleFade } from "@/components/remocn/micro-scale-fade";
import { Backdrop } from "@/components/remocn/backdrop";
const MicroScaleFadeScene = () => (
<Backdrop fill={{ type: "color", value: "#ffffff" }}>
<MicroScaleFade text="Welcome to motion." scaleFrom={0.96} />
</Backdrop>
);
export const RemotionRoot = () => (
<Composition
id="MicroScaleFade"
component={MicroScaleFadeScene}
durationInFrames={60}
fps={30}
width={1280}
height={720}
/>
);Props
| Prop | Type | Default | Description |
|---|---|---|---|
textrequired | string | — | The text to animate |
scaleFrom | number | 0.96 | Starting scale the text grows from as it fades in. Animates to 1. |
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 |