Serif Rise

A large serif line rises into place, 'From rough cut to final cut.', end phrase in red. A free, MIT-licensed Remotion text animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/serif-rise

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { SerifRise } from "@/components/remocn/serif-rise";
 
const SerifRiseScene = () => (
  <SerifRise lines={["From rough cut", "to final cut."]} highlight="final cut." />
);
 
export const RemotionRoot = () => (
  <Composition
    id="SerifRise"
    component={SerifRiseScene}
    durationInFrames={260}
    fps={60}
    width={1280}
    height={720}
  />
);

Large serif lines rise into place one after another under thin rules, then a sweep lights the highlight phrase in the accent colour. Pass lines and highlight; it ships light and dark.

Props12

PropTypeDefault
lines
string[]["From rough cut", "to final cut."]

Headline lines, each rising in turn.

highlight
string"final cut."

Phrase set in the accent colour.

stagger
number1.5

Frames between letters as they rise in.

accent
string—

Highlight colour (any CSS colour).

ink
string—

Text color; overrides the theme ink.

background
string—

Overrides the theme background colour.

fontFamily
string"Bricolage Grotesque"

Typeface for the lines; a variable face with a weight axis works best. 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.

speed
number1

Playback multiplier; above 1 plays faster.

theme
"dark" | "light""dark"

Colour scheme; ships light and dark.

  • linesstring[]

    Headline lines, each rising in turn.

    Default["From rough cut", "to final cut."]

  • highlightstring

    Phrase set in the accent colour.

    Default"final cut."

  • staggernumber

    Frames between letters as they rise in.

    Default1.5

  • accentstring

    Highlight colour (any CSS colour).

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Overrides the theme background colour.

  • fontFamilystring

    Typeface for the lines; a variable face with a weight axis works best. Load the font in your project first.

    Default"Bricolage Grotesque"

  • 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

  • speednumber

    Playback multiplier; above 1 plays faster.

    Default1

  • theme"dark" | "light"

    Colour scheme; ships light and dark.

    Default"dark"