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-fade

Usage

// 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

PropTypeDefaultDescription
textrequired
stringThe text to animate
scaleFrom
number0.96Starting scale the text grows from as it fades in. Animates to 1.
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