# Speaker Card

A speaker's avatar and name, with a ring that swells while they talk.

```bash
npx shadcn add https://www.reelcn.dev/r/speaker-card.json
```

Usage:

```tsx
<SpeakerCard src={staticFile("episode.mp3")} name="Ada Lovelace" role="Founder" />
```

Use for:

- Podcast clips and audiograms with two or more voices
- Showing who is speaking when there is no camera

Dependencies:

- `@remotion/media-utils`
- `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`. |
| src | `string` | — | Audio file; `staticFile("…")` or a URL. |
| name | `string` | — |  |
| role? | `string` | — |  |
| avatar? | `ReactNode` | — | Avatar image; pass an `<Img>`. Initials are drawn when omitted. |
| size? | `number` | `160` | Avatar diameter, in design units. |
| color? | `string` | — |  |
| windowInSeconds? | `number` | `10` |  |
| style? | `CSSProperties` | — |  |
| className? | `string` | — |  |