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.

Installation
$ pnpm dlx shadcn@latest add @remocn/three-steps

Usage

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

Props14

PropTypeDefault
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.

    DefaultDEFAULT_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.

    Default18

  • pausenumber

    Frames the dot rests on each step.

    Default10

  • 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.

    Defaulttrue

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • theme"dark" | "light"

    Light or dark palette.

    Default"dark"

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1