RemotionUI

Transition Light Leak

A film flare that peaks on the cut and hides the seam under it.

PrimitiveTransitionsAdvanced

transition-light-leak30fps · 960×540
Install
$ npx remotion-ui@latest add transition-light-leak

An overlay rather than a presentation: drop it in a TransitionSeries.Overlay and the flare blooms over whatever cut is happening underneath. It takes its length from the overlay it sits in, so the envelope always finishes exactly when the overlay does.

peakAt moves the brightest moment inside that window. TransitionSeries.Overlay centres the overlay on the cut, so the default 0.5 puts the flare on the seam; lower values peak before it. intensity scales the whole envelope and blendMode decides how it composites.

An overlay does not shorten the series the way a transition does, so budget its scenes yourself: two 60-frame sequences fill a 120-frame composition and cut at frame 60, and a 24-frame overlay then spans frames 48–72.

Rendering needs the ANGLE backend: pass --gl=angle to remotion render, or set chromiumOptions: { gl: "angle" } when using the SSR APIs.

Requires @remotion/light-leaks. Run npx remotion add @remotion/light-leaks if not already installed.

Advanced. Installs @remotion/light-leaks. Rendering needs the ANGLE backend: pass --gl=angle.

Agent notes

Install first, then import the copied source component locally. AI guide →

Import
@/remotion/primitives/transition-light-leak
  • Use when: scene transitions and composition pacing.
  • Customize: durationInFrames, seed, hueShift, intensity, plus copied source for timing, layout, colors, and typography.
  • Rule: do not import this component from the remotion-ui npm package; it is copied into your project.

Usage

Example
import { TransitionLightLeak } from "@/remotion/primitives/transition-light-leak"; <TransitionSeries.Overlay durationInFrames={30}> <TransitionLightLeak seed={2} hueShift={45} /> </TransitionSeries.Overlay>

API Reference

PropTypeDescription
durationInFramesnumberLength of the flare. Defaults to the overlay's own length.
seednumberLight leak pattern seed.
hueShiftnumberHue rotation in degrees, warm amber by default.
intensitynumberPeak opacity of the leak.
peakAtnumberWhere the flare peaks in its window. Sit it on the cut to hide the seam.
blendMode"screen" | "plus-lighter" | "normal"How the leak composites over the frame.

On this page