Macro Pan
A serif headline is revealed by a close-up pan across its glyphs, pulling back to a full lockup.
$ pnpm dlx shadcn@latest add @remocn/macro-panUsage
// src/Root.tsx
import { Composition } from "remotion";
import { MacroPan } from "@/components/remocn/macro-pan";
const MacroPanScene = () => (
<MacroPan title="Built to move." label="remocn" index="01" accent="#3B5BFD" />
);
export const RemotionRoot = () => (
<Composition
id="MacroPan"
component={MacroPanScene}
durationInFrames={180}
fps={30}
width={1280}
height={720}
/>
);The camera starts zoomed into the letters and pans across them, then pulls back to reveal the whole headline ending on a gradient while the corner label settles. Pass title, label and index; it ships light and dark through theme.
Props6
| Prop | Type | Default |
|---|---|---|
| title | string"Built to move." Headline revealed by the pan | |
| label | string"remocn" Running label in the corner; Remocn shows the logo | |
| index | string"01" Number before the label, like a reel or chapter | |
| accent | string"#3B5BFD" Accent color (any valid CSS color) | |
| theme | "dark" | "light""dark" Ships light and dark palettes | |
| speed | number1 Playback speed multiplier | |
- titlestring
Headline revealed by the pan
Default
"Built to move." - labelstring
Running label in the corner; Remocn shows the logo
Default
"remocn" - indexstring
Number before the label, like a reel or chapter
Default
"01" - accentstring
Accent color (any valid CSS color)
Default
"#3B5BFD" - theme"dark" | "light"
Ships light and dark palettes
Default
"dark" - speednumber
Playback speed multiplier
Default
1