Light Burn to Line
A browser scene burns down to a bright line of light that opens onto a closing headline and button. A free, MIT-licensed Remotion transition.
$ pnpm dlx shadcn@latest add @remocn/light-burn-to-lineUsage
// src/Root.tsx
import { Composition } from "remotion";
import { LightBurnToLineDemo } from "@/components/remocn/light-burn-to-line";
const LightBurnToLineDemoScene = () => (
<LightBurnToLineDemo
line="Now ship your first film."
cta="Start free"
url="remocn.dev/new"
/>
);
export const RemotionRoot = () => (
<Composition
id="LightBurnToLineDemo"
component={LightBurnToLineDemoScene}
durationInFrames={126}
fps={30}
width={1280}
height={720}
/>
);Scene A is a browser window with a chat, a check and a few product shots. The window burns into soft discs of light that gather and travel into a horizontal line, which then opens onto scene B: a closing headline with a call-to-action pill and a URL. Pass line, cta and url for the ending; 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.
Props19
| Prop | Type | Default |
|---|---|---|
| theme | "dark" | "light""dark" Light or dark palette for both scenes | |
| accent | string— Accent color; defaults to the theme accent | |
| ink | string— Text color of the incoming line; overrides the theme ink. | |
| background | string— Solid fill in place of both gradient grounds; pass "transparent" to drop it. | |
| fontFamily | string"Geist" Typeface for the copy. Load the font in your project first. | |
| line | string"Now ship your first film." Closing headline in scene B | |
| cta | string"Start free" Label of the call-to-action pill | |
| url | string"remocn.dev/new" URL text shown in scene B | |
| request | string"Make the hero calmer and add the product shots." Request in the chat bubble of the outgoing app window | |
| headline | [string, string]["Your next launch,", "already in motion."] Two-line hero headline on the outgoing landing page | |
| logo | React.ReactNode— Replaces the remocn mark in the incoming pill. | |
| ground | GshPresetId— Preset id for the scene A gradients.sh shader ground | |
| groundParams | Partial<GradientParams>— Overrides for the scene A shader parameters | |
| groundB | GshPresetId— Preset id for the scene B gradients.sh shader ground | |
| groundParamsB | Partial<GradientParams>— Overrides for the scene B shader parameters | |
| transition | LightBurnToLineProps— Overrides for the transition presentation props | |
| scale | number1 Size of both scenes' foreground around the frame's center; the grounds stay put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| speed | number1 Playback speed multiplier for the whole timeline. | |
- theme"dark" | "light"
Light or dark palette for both scenes
Default
"dark" - accentstring
Accent color; defaults to the theme accent
- inkstring
Text color of the incoming line; overrides the theme ink.
- backgroundstring
Solid fill in place of both gradient grounds; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Geist" - linestring
Closing headline in scene B
Default
"Now ship your first film." - ctastring
Label of the call-to-action pill
Default
"Start free" - urlstring
URL text shown in scene B
Default
"remocn.dev/new" - requeststring
Request in the chat bubble of the outgoing app window
Default
"Make the hero calmer and add the product shots." - headline[string, string]
Two-line hero headline on the outgoing landing page
Default
["Your next launch,", "already in motion."] - logoReact.ReactNode
Replaces the remocn mark in the incoming pill.
- groundGshPresetId
Preset id for the scene A gradients.sh shader ground
- groundParamsPartial<GradientParams>
Overrides for the scene A shader parameters
- groundBGshPresetId
Preset id for the scene B gradients.sh shader ground
- groundParamsBPartial<GradientParams>
Overrides for the scene B shader parameters
- transitionLightBurnToLineProps
Overrides for the transition presentation props
- scalenumber
Size of both scenes' foreground around the frame's center; the grounds stay put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback speed multiplier for the whole timeline.
Default
1