Speed Ramp Word

Time slows on the key word as it warms to a gradient, with a timecode HUD. A free, MIT-licensed Remotion text animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/speed-ramp-word

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { SpeedRampWord } from "@/components/remocn/speed-ramp-word";
 
const SpeedRampWordScene = () => (
  <SpeedRampWord text="Everything changes in an instant." keyWord="instant" hud />
);
 
export const RemotionRoot = () => (
  <Composition
    id="SpeedRampWord"
    component={SpeedRampWordScene}
    durationInFrames={121}
    fps={30}
    width={1280}
    height={720}
  />
);

The phrase rushes across the frame, then time slows on the key word as it warms to a gradient, with a small timecode and speed readout slowing alongside. Pass text and keyWord; set hud to false to hide the readout. It ships light and dark.

Props14

PropTypeDefault
text
string"Everything changes in an instant."

The phrase that rushes across.

keyWord
string"instant"

The word inside `text` that drops into slow motion. Defaults to the last word.

hud
booleantrue

Show the small timecode and speed readout that slow down with the shot.

ghosts
booleantrue

Trailing copies of the key word that gather while it slows.

fontWeight
number500

Weight of the phrase; the key word keeps its serif italic.

accent
string"#3B5BFD"

Accent colour (any CSS colour).

ink
string—

Text color of the phrase; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Schibsted Grotesk"

Typeface for the phrase; the key word keeps its serif italic. 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"

Colour scheme; ships light and dark.

speed
number1

Playback multiplier; above 1 plays faster.

  • textstring

    The phrase that rushes across.

    Default"Everything changes in an instant."

  • keyWordstring

    The word inside `text` that drops into slow motion. Defaults to the last word.

    Default"instant"

  • hudboolean

    Show the small timecode and speed readout that slow down with the shot.

    Defaulttrue

  • ghostsboolean

    Trailing copies of the key word that gather while it slows.

    Defaulttrue

  • fontWeightnumber

    Weight of the phrase; the key word keeps its serif italic.

    Default500

  • accentstring

    Accent colour (any CSS colour).

    Default"#3B5BFD"

  • inkstring

    Text color of the phrase; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the phrase; the key word keeps its serif italic. Load the font in your project first.

    Default"Schibsted Grotesk"

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

    Colour scheme; ships light and dark.

    Default"dark"

  • speednumber

    Playback multiplier; above 1 plays faster.

    Default1