# Light Leak

Warm film light leak: large soft glows sweep across the frame in screen blend, swell to a peak and fade.

```bash
npx shadcn add https://www.reelcn.dev/r/light-leak.json
```

Usage:

```tsx
<Sequence from={60} durationInFrames={70}>
  <LightLeak side="right" strength={0.8} />
</Sequence>
```

Use for:

- Organic warmth between shots, over B-roll, photos or a title card
- Softening a cut with a filmic glow

Avoid:

- A hard, fast accent on a beat. Use `flash`

Dependencies:

- `remotion`


## Props

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| delay? | `number` | — | Frames to wait before entering. |
| duration? | `number` | — | Enter duration in frames. Defaults to 0.6s. Some items reuse `duration` for an unrelated local timing. See that item's own prop docs. |
| exit? | `number \| boolean` | — | Exit at the end of the parent `<Sequence>`. `false` keeps it on screen, a number sets the exit length in frames. |
| motion? | `MotionPersonality` | — | Override the theme's motion personality. |
| poster? | `boolean` | — | Renders fully entered, with no exit: for a still frame or thumbnail. Defaults to `false`. |
| holdFrames? | `number` | — | Delays the start of the exit window by this many frames, for a minimum on-screen hold. Defaults to `0`. |
| color? | `string` | — | Main glow. Defaults to the theme highlight. |
| secondaryColor? | `string` | — | Second glow, also blended half-and-half with the first. Defaults to the theme accent. |
| side? | `"left" \| "right"` | `"left"` | Side the glow sweeps in from. |
| strength? | `number` | `0.85` | Peak opacity, 0-1. |
| hold? | `number` | — | Frames held at the peak before the fade. Defaults to 0.3s. |
| swellFrames? | `number` | — | Frames to swell to the peak. Wins over `duration`. Defaults to 0.6s. |
| seed? | `string \| number` | `"light-leak"` |  |
| style? | `CSSProperties` | — |  |
| className? | `string` | — |  |