# Reaction Burst

Live-stream style reactions (heart, thumbs-up, star, flame) that pop in, float up with a sway and fade.

```bash
npx shadcn add https://www.reelcn.dev/r/reaction-burst.json
```

Usage:

```tsx
<Sequence from={30} durationInFrames={120}>
  <ReactionBurst icons={["heart", "flame"]} count={16} />
</Sequence>
```

Use for:

- Showing audience love for a clip, a hot take or a product reveal
- Social proof in short-form and live-stream style edits

Avoid:

- A single celebratory moment. Use `confetti`

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`. |
| origin? | `{ x: number; y: number; }` | `{ x: 82, y: 78 }` | Where reactions spawn, in % of the canvas. Defaults to the lower right. |
| count? | `number` | `12` | Number of reactions. |
| icons? | `ReactionIcon[]` | `["heart", "thumbsUp", "star", "flame"]` | Icons to draw from; each reaction picks one (seeded). |
| interval? | `number` | — | Frames between spawns. Defaults to 0.12s. |
| life? | `number` | — | Frames each reaction lives. Defaults to 1.8s. |
| rise? | `number` | `560` | How far reactions float up, in design units. |
| sway? | `number` | `34` | Side-to-side sway in design units. |
| size? | `number` | `72` | Icon size in design units. |
| colors? | `Partial<Record<ReactionIcon, string>>` | `{}` | Fill per icon. Defaults: heart and thumbs-up use the theme accent, star and flame the highlight. |
| seed? | `string \| number` | `"reactions"` |  |
| style? | `CSSProperties` | — |  |
| className? | `string` | — |  |