Top-Down Letters
Letters descend from above in a pronounced staircase, one symbol at a time
Installation
$ pnpm dlx shadcn@latest add @remocn/top-down-lettersUsage
// src/Root.tsx
import { Composition } from "remotion";
import { TopDownLetters } from "@/components/remocn/top-down-letters";
const TopDownLettersScene = () => (
<TopDownLetters text="Signal" staggerDelay={3} distance={46} />
);
export const RemotionRoot = () => (
<Composition
id="TopDownLetters"
component={TopDownLettersScene}
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 { TopDownLetters } from "@/components/remocn/top-down-letters";
import { Backdrop } from "@/components/remocn/backdrop";
const TopDownLettersScene = () => (
<Backdrop fill={{ type: "color", value: "#ffffff" }}>
<TopDownLetters text="Signal" staggerDelay={3} distance={46} />
</Backdrop>
);
export const RemotionRoot = () => (
<Composition
id="TopDownLetters"
component={TopDownLettersScene}
durationInFrames={60}
fps={30}
width={1280}
height={720}
/>
);Props
| Prop | Type | Default | Description |
|---|---|---|---|
textrequired | string | — | The text to reveal |
staggerDelay | number | 3 | Per-character delay in frames. Larger values make the staircase more pronounced. |
distance | number | 46 | Vertical travel in pixels each letter descends from above. Animates to 0. |
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 |