# Callout

Dims the frame around a target rectangle, rings it, and points a label bubble at it from the side with the most room.

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

Usage:

```tsx
<Sequence from={30} durationInFrames={90}>
  <Callout target={{ x: 65, y: 71, width: 23, height: 8 }} label="Ship it from here" />
</Sequence>
```

Use for:

- Highlighting a button, field or panel in product demos and walkthroughs
- Explaining one region of a screenshot or screen recording

Avoid:

- A quick pointer that leaves the rest of the frame undimmed. Use `arrow`

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`. |
| target | `CalloutRect \| { anchors: Record<string, AnchorRect>; id: string; }` | — | Area to spotlight, in % of the canvas (0-100): `x`/`y` is the top-left corner, `width`/`height` the size. Percentages keep the spotlight on the same UI when the canvas changes format. A kit anchor (`{ anchors, id }`) resolves to the exact same rect shape instead of a literal one. |
| label? | `string` | — |  |
| side? | `"left" \| "right" \| "auto" \| "top" \| "bottom"` | `"auto"` | Where the label sits. `auto` tries below, then above, then the roomier side, staying inside the safe zone. |
| padding? | `number` | `12` | Space added around the target, in design units. |
| radius? | `number` | — | Corner radius in design units. Defaults to the theme radius. |
| dim? | `number` | `0.72` | How dark the surroundings get, 0-1. |
| dimColor? | `string` | — | Dim color. Defaults to the theme background. |
| accentColor? | `string` | — | Ring, glow and bubble color. Defaults to the theme accent. |
| labelColor? | `string` | — | Label text color. Defaults to the theme accent foreground. |
| style? | `CSSProperties` | — |  |
| className? | `string` | — |  |