# Light Flash

Overexposes the outgoing scene into a flash of light, cuts at the peak, and lets the glow burn off the next scene.

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

Usage:

```tsx
<TransitionSeries>
  <TransitionSeries.Sequence durationInFrames={60}>
    <Before />
  </TransitionSeries.Sequence>
  <TransitionSeries.Transition presentation={lightFlash()} timing={linearTiming({ durationInFrames: 20 })} />
  <TransitionSeries.Sequence durationInFrames={60}>
    <After />
  </TransitionSeries.Sequence>
</TransitionSeries>
```

Use for:

- Beat-synced cuts, reveals and before-and-after moments
- Hiding the jump between two very different scenes

Dependencies:

- `@remotion/transitions`
- `remotion`


## Props

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| color? | `string` | — | Flash color. Defaults to white. |
| tint? | `string` | — | Soft tint at the edges of the flash. Defaults to the theme highlight. |