Three Steps
Three large numerals light up along a line as a dot travels, each with a title and detail.
$ pnpm dlx shadcn@latest add @remocn/three-stepsUsage
// src/Root.tsx
import { Composition } from "remotion";
import { ThreeSteps } from "@/components/remocn/three-steps";
const ThreeStepsScene = () => (
<ThreeSteps
steps={[
{ title: "Install", detail: "Add a scene with the CLI" },
{ title: "Compose", detail: "Arrange scenes in React" },
{ title: "Render", detail: "Export an MP4" },
]}
outcome="Your launch video, shipped"
/>
);
export const RemotionRoot = () => (
<Composition
id="ThreeSteps"
component={ThreeStepsScene}
durationInFrames={150}
fps={30}
width={1280}
height={720}
/>
);A line draws across the frame and ghost numerals appear, then a dot travels along it, lighting each numeral in a gradient as its title and detail rise in. The final step also shows the outcome in serif italic. Pass steps as { title, detail? }, an eyebrow label, and the outcome. It ships light and dark; three steps fit best.
Props6
| Prop | Type | Default |
|---|---|---|
| steps | { title: string; detail?: string }[]DEFAULT_STEPS Steps left to right, each with a title and optional detail. | |
| eyebrow | string"How it works" Small caps label above the line. | |
| outcome | string"Your launch video, shipped" Serif italic line shown under the last step. | |
| accent | string"#3B5BFD" Color of the outcome line. | |
| theme | "dark" | "light""dark" Light or dark palette. | |
| speed | number1 Playback speed multiplier for the whole timeline. | |
- steps{ title: string; detail?: string }[]
Steps left to right, each with a title and optional detail.
Default
DEFAULT_STEPS - eyebrowstring
Small caps label above the line.
Default
"How it works" - outcomestring
Serif italic line shown under the last step.
Default
"Your launch video, shipped" - accentstring
Color of the outcome line.
Default
"#3B5BFD" - theme"dark" | "light"
Light or dark palette.
Default
"dark" - speednumber
Playback speed multiplier for the whole timeline.
Default
1