Beam Split

Beam split headline for Remotion: a beam of light slices a bold title in two, pushes the halves apart and reveals a serif italic punchline phrase in the gap.

In Remotion, Beam Split has a beam of light slice a bold headline in two, push the halves apart and reveal a serif italic phrase in the gap, then close again. Use it for a headline that sets up a punchline, such as a launch or feature reveal.

Installation
$ pnpm dlx shadcn@latest add @remocn/beam-split

How to build this in Remotion

You don't have to animate clip-path halves and load a serif by hand. Install the component and pass the two texts:

bash
npx shadcn@latest add @remocn/beam-split

The halves are clip-path crops moved with interpolate() on Easing.bezier curves; the beam is an SVG with a CSS mask. The schedule lives in timeline.ts.

Good to know

  • Length: 116 frames of motion at 30 fps (232 at 60 fps) with the default props; the demo plays 150 frames, which adds a hold. The timing is fixed: a longer composition only holds the last frame longer. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, see Frame rate.
  • Installs: remotion, @remotion/google-fonts from npm, plus the remocn helpers glide, frame-rate, timeline. The shadcn CLI copies the source into your project.
  • Fonts: loads Bricolage Grotesque for the title and Instrument Serif italic for the inner phrase itself through @remotion/google-fonts. Pass fontFamily to use your own face for the title, and load it in your project.
  • At 60 fps, give Remotion 232 frames or more; the Usage example's 300 frames at 60 fps adds a hold.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { BeamSplit } from "@/components/remocn/beam-split";
 
const BeamSplitScene = () => (
  <BeamSplit title="Ship the story" inner="with motion you own" accent="#3B5BFD" />
);
 
export const RemotionRoot = () => (
  <Composition
    id="BeamSplit"
    component={BeamSplitScene}
    durationInFrames={300}
    fps={60}
    width={1280}
    height={720}
  />
);

A bold title rises, a thin beam draws across its middle and pushes the halves apart, and the italic phrase fades in between before the gap closes again. Pass title and inner to set the two texts; it ships light and dark through theme.

Props13

PropTypeDefault
title
string"Ship the story"

Bold headline that is split by the beam

inner
string"with motion you own"

Serif italic phrase shown inside the opened gap

accent
string"#3B5BFD"

Accent color (any valid CSS color)

innerColor
string"#f4f7ff"

Color of the italic line inside the gap.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Bricolage Grotesque"

Typeface for the copy. Bricolage Grotesque loads by default; load any other face in your project first.

hold
number32

Frames the gap stays wide open before it narrows.

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"

Ships light and dark palettes

speed
number1

Playback speed multiplier

  • titlestring

    Bold headline that is split by the beam

    Default"Ship the story"

  • innerstring

    Serif italic phrase shown inside the opened gap

    Default"with motion you own"

  • accentstring

    Accent color (any valid CSS color)

    Default"#3B5BFD"

  • innerColorstring

    Color of the italic line inside the gap.

    Default"#f4f7ff"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Bricolage Grotesque loads by default; load any other face in your project first.

    Default"Bricolage Grotesque"

  • holdnumber

    Frames the gap stays wide open before it narrows.

    Default32

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

    Ships light and dark palettes

    Default"dark"

  • speednumber

    Playback speed multiplier

    Default1

Common questions

How can a beam of light slice a headline in two in Remotion and reveal a phrase in the gap?

Install Beam Split with npx shadcn@latest add @remocn/beam-split and pass title and inner. The inner phrase is set in Instrument Serif italic, loaded by the component.

Which serif is used?

Instrument Serif italic, loaded through @remotion/google-fonts.

  • Blur Out Up: a title with no second phrase that exits upward.
  • Split Word: a status word sliding into a sliced headline.
  • Glass Capsule: a glass capsule magnifying one word.
  • Hidden Word: a word found inside a sentence and lifted out.