Beam Split
A light beam cuts a bold headline in two and a serif italic phrase appears in the gap. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/beam-splitUsage
// 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
| Prop | Type | Default |
|---|---|---|
| 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 title. Load the font 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 title. Load the font in your project first.
Default
"Bricolage Grotesque" - holdnumber
Frames the gap stays wide open before it narrows.
Default
32 - grainboolean
Film grain over the scene.
Default
true - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - theme"dark" | "light"
Ships light and dark palettes
Default
"dark" - speednumber
Playback speed multiplier
Default
1