# Countdown

A ring that empties while the number counts down to zero.

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

Usage:

```tsx
<Sequence durationInFrames={150}>
  <Countdown seconds={5} label="Starting in" />
</Sequence>
```

Use for:

- Waiting rooms and "starting soon" cards for streams
- Timed challenges inside a video

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`. |
| seconds | `number` | — |  |
| label? | `string` | — |  |
| doneLabel? | `string` | `"Go"` | Text shown for one second after zero. |
| size? | `number` | `260` |  |
| color? | `string` | — |  |
| accentColor? | `string` | — |  |
| style? | `CSSProperties` | — |  |
| className? | `string` | — |  |