Roman Edition

A giant Roman numeral counts up on a colored band under an edition header, then a tagline lands. A free, MIT-licensed Remotion number animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/roman-edition

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { RomanEdition } from "@/components/remocn/roman-edition";
 
const RomanEditionScene = () => (
  <RomanEdition value={14} eyebrow="Launch Week" tagline="Five days of new scenes, one every morning." />
);
 
export const RemotionRoot = () => (
  <Composition
    id="RomanEdition"
    component={RomanEditionScene}
    durationInFrames={320}
    fps={60}
    width={1280}
    height={720}
  />
);

The band wipes in and the numeral ticks through the sequence from from to value, slow at first, quick through the middle, then easing onto the final edition. The tagline rises in after it lands. Pass value, eyebrow and tagline; it ships light and dark through theme.

Props15

PropTypeDefault
value
number14

Final edition number, drawn as a Roman numeral.

from
number1

Edition number the sequence starts from.

eyebrow
string"Launch Week"

Header text above the numeral.

tagline
string"Five days of new scenes, one every morning."

Line that rises in word by word under the band.

showNumber
booleantrue

Show the plain edition number at the top right.

stagger
number3

Frames between tagline words rising in.

accent
string—

Accent color for highlights and small marks.

ink
string—

Text color; overrides the theme ink.

band
string—

Fill of the band behind the numeral; overrides the theme.

background
string—

Background color override.

fontFamily
string"Archivo"

Typeface for the copy. Load the font in your project first.

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.

speed
number1

Playback speed multiplier for the whole timeline.

theme
"dark" | "light""dark"

Color theme, "dark" or "light".

  • valuenumber

    Final edition number, drawn as a Roman numeral.

    Default14

  • fromnumber

    Edition number the sequence starts from.

    Default1

  • eyebrowstring

    Header text above the numeral.

    Default"Launch Week"

  • taglinestring

    Line that rises in word by word under the band.

    Default"Five days of new scenes, one every morning."

  • showNumberboolean

    Show the plain edition number at the top right.

    Defaulttrue

  • staggernumber

    Frames between tagline words rising in.

    Default3

  • accentstring

    Accent color for highlights and small marks.

  • inkstring

    Text color; overrides the theme ink.

  • bandstring

    Fill of the band behind the numeral; overrides the theme.

  • backgroundstring

    Background color override.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Archivo"

  • 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

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1

  • theme"dark" | "light"

    Color theme, "dark" or "light".

    Default"dark"