# Bokeh

Seeded out-of-focus light discs floating upward, larger and softer ones moving faster for depth.

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

Usage:

```tsx
<AbsoluteFill>
  <Bokeh />
  <Center><TextReveal text="Hello" /></Center>
</AbsoluteFill>
```

Use for:

- Warm, celebratory or lifestyle scenes: holidays, thank-yous, testimonials
- A soft, cinematic backdrop behind quotes and names

Avoid:

- Tiny pin-sharp points of light. Use `starfield`

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. |
| colors? | `string[]` | — | Disc colors, picked per disc by seed. Defaults to accent and highlight. |
| count? | `number` | `22` |  |
| size? | `number` | `280` | Largest disc diameter in design units. |
| intensity? | `number` | `0.3` | Opacity of the nearest, brightest disc, 0–1. |
| seed? | `string \| number` | `1` | Same seed, same layout. |
| speed? | `number` | `1` | Float speed multiplier. 0 holds the discs in place. |
| style? | `CSSProperties` | — |  |
| className? | `string` | — |  |