Column Slide

Vertical columns slide across in a stagger and swap one headline for another. A free, MIT-licensed Remotion transition.

Installation
$ pnpm dlx shadcn@latest add @remocn/column-slide

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ColumnSlide } from "@/components/remocn/column-slide";
 
const ColumnSlideScene = () => (
  <ColumnSlide
    from="Plan the launch"
    to="Launch day"
    columns={5}
    accent="#3B5BFD"
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="ColumnSlide"
    component={ColumnSlideScene}
    durationInFrames={192}
    fps={60}
    width={1280}
    height={720}
  />
);

The from headline sits on the stage. Between 3 and 7 vertical columns, set by columns, then slide across in a stagger, each carrying a slice of both headlines, and the new scene settles with a slight scale-down. Pass from and to as short strings; it ships light and dark and the move finishes at frame 66.

Props14

PropTypeDefault
from
string"Plan the launch"

Outgoing headline

to
string"Launch day"

Incoming headline

columns
number5

Number of vertical columns, clamped between 3 and 7

stagger
number4

Frames between columns starting to slide.

fontFamily
string"Bricolage Grotesque"

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

fontWeight
number500

Weight of both headlines.

accent
string"#3B5BFD"

Accent color used by the scenes

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

theme
"dark" | "light""dark"

Light or dark stage

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.

grain
booleantrue

Film grain over the scene.

speed
number1

Playback multiplier for the whole timeline

  • fromstring

    Outgoing headline

    Default"Plan the launch"

  • tostring

    Incoming headline

    Default"Launch day"

  • columnsnumber

    Number of vertical columns, clamped between 3 and 7

    Default5

  • staggernumber

    Frames between columns starting to slide.

    Default4

  • fontFamilystring

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

    Default"Bricolage Grotesque"

  • fontWeightnumber

    Weight of both headlines.

    Default500

  • accentstring

    Accent color used by the scenes

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • theme"dark" | "light"

    Light or dark stage

    Default"dark"

  • 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

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • speednumber

    Playback multiplier for the whole timeline

    Default1