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 — put it on the cut itself so the flare covers the seam rather than arriving after it. intensity scales the whole envelope and blendMode decides how it composites.

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.

Related