Three Steps
Three large numerals light up along a line as a dot travels, each with a title and detail. A free, MIT-licensed Remotion text animation.
In Remotion, Three Steps builds a how-it-works scene: three large numerals light up along a line as a dot travels between them, each with a title and a short detail, ending on an outcome line. Use it to explain a product in three steps, such as install, compose, render.
$ pnpm dlx shadcn@latest add @remocn/three-stepsGood to know
- Length: 118 frames of motion at 30 fps (236 at 60 fps) with the default props. That is the minimum for its
Sequence; add your own hold on top. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion (durationInFrames,Sequencelengths) are doubled. The component's own props counted in frames stay in 30 fps frames at any frame rate, see Frame rate. - Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: loads Instrument Serif and Manrope itself through
@remotion/google-fonts. PassfontFamilyto use your own face, and load that font in your project. - The serif outcome line shows only when
outcomeis set; passoutcome=""to hide it.
Usage
// 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={300}
fps={60}
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.
Props14
| 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. | |
| travel | number18 Frames the dot takes to travel from one step to the next. | |
| pause | number10 Frames the dot rests on each step. | |
| accent | string"#3B5BFD" Color of the outcome line. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Manrope" Typeface for the copy; the outcome line stays in the serif. Load the font in your project first. | |
| grain | booleantrue Film grain over the scene. | |
| scale | number1 Size of the foreground around the frame's center; the background stays put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| 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" - travelnumber
Frames the dot takes to travel from one step to the next.
Default
18 - pausenumber
Frames the dot rests on each step.
Default
10 - accentstring
Color of the outcome line.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy; the outcome line stays in the serif. Load the font in your project first.
Default
"Manrope" - grainboolean
Film grain over the scene.
Default
true - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - theme"dark" | "light"
Light or dark palette.
Default
"dark" - speednumber
Playback speed multiplier for the whole timeline.
Default
1