Band Open

A horizontal band opens at the center of a stacked headline to reveal a full-frame photo title card. A free, MIT-licensed Remotion transition.

Installation
$ pnpm dlx shadcn@latest add @remocn/band-open

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { BandOpen } from "@/components/remocn/band-open";
 
const BandOpenScene = () => (
  <BandOpen
    line="Launch day"
    src="/images/hero.jpg"
    meta="Thursday · 09:00 · remocn.dev"
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="BandOpen"
    component={BandOpenScene}
    durationInFrames={252}
    fps={60}
    width={1280}
    height={720}
  />
);

Scene A stacks the headline into repeating rows that rise in and fade out above and below the center. A band opens across the middle and expands to full frame, revealing scene B, a photo with the same headline and a meta caption below. Pass line, meta and your own src (the default exists only in the Remocn repo); it ships light and dark.

The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.

Props18

PropTypeDefault
theme
"dark" | "light""dark"

Light or dark palette for the stack scene

line
string"Launch day"

Headline repeated in the strips and over the photo

src
string"reel/reel-2.jpg"

Photo for scene B; the default exists only in the Remocn repo

meta
string"Thursday · 09:00 · remocn.dev"

Caption line under the headline in scene B

fontFamily
string"Instrument Sans"

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

fontWeight
number400

Weight of the headline in both scenes.

ink
string—

Text color; overrides the theme ink.

logo
React.ReactNode—

Replaces the remocn mark.

background
string—

Solid fill in place of the gradient ground; pass "transparent" to drop it.

ground
GshPresetId—

Preset id for the scene A gradients.sh shader ground

groundParams
Partial<GradientParams>—

Overrides for the scene A shader parameters

transitionFrames
numberBAND_OPEN_TIMING.transition

Transition length in frames

stagger
number2

Frames between strips as the stack rises from the center out.

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.

band
number—

Height share of the opening band; auto-sized from the line

rest
BandOpenProps—

Other band options: center, openUntil, expandFrom, push, dim, edge, parallax

  • theme"dark" | "light"

    Light or dark palette for the stack scene

    Default"dark"

  • linestring

    Headline repeated in the strips and over the photo

    Default"Launch day"

  • srcstring

    Photo for scene B; the default exists only in the Remocn repo

    Default"reel/reel-2.jpg"

  • metastring

    Caption line under the headline in scene B

    Default"Thursday · 09:00 · remocn.dev"

  • fontFamilystring

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

    Default"Instrument Sans"

  • fontWeightnumber

    Weight of the headline in both scenes.

    Default400

  • inkstring

    Text color; overrides the theme ink.

  • logoReact.ReactNode

    Replaces the remocn mark.

  • backgroundstring

    Solid fill in place of the gradient ground; pass "transparent" to drop it.

  • groundGshPresetId

    Preset id for the scene A gradients.sh shader ground

  • groundParamsPartial<GradientParams>

    Overrides for the scene A shader parameters

  • transitionFramesnumber

    Transition length in frames

    DefaultBAND_OPEN_TIMING.transition

  • staggernumber

    Frames between strips as the stack rises from the center out.

    Default2

  • 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

  • bandnumber

    Height share of the opening band; auto-sized from the line

  • restBandOpenProps

    Other band options: center, openUntil, expandFrom, push, dim, edge, parallax