# Beams

Soft shafts of accent light fanning out from a corner and sweeping slowly, like stage lights through haze.

```bash
npx shadcn add https://www.reelcn.dev/r/beams.json
```

Usage:

```tsx
<AbsoluteFill>
  <Beams origin="top-left" />
  <Center><TextReveal text="Hello" /></Center>
</AbsoluteFill>
```

Use for:

- Launch reveals, award-style titles and event promos
- Adding energy behind a logo or headline without busy shapes

Avoid:

- A single soft pool of light. Use `spotlight`

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`. |
| background? | `string` | — | Base fill. Defaults to the theme background. |
| color? | `string` | — | Light color. Defaults to the theme accent. |
| count? | `number` | `5` | Number of beams; 3–6 look best. |
| origin? | `"top-left" \| "top" \| "top-right"` | `"top-left"` | Where the light comes from. |
| intensity? | `number` | `0.28` | Brightest beam opacity near the source, 0–1. |
| beamWidth? | `number` | `7` | Beam width in degrees. |
| speed? | `number` | `1` | Sweep speed multiplier. 0 freezes the beams. |
| style? | `CSSProperties` | — |  |
| className? | `string` | — |  |