Countdown

A monumental countdown numeral inside a ring resolves into a Live lockup. A free, MIT-licensed Remotion number animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/countdown

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { Countdown } from "@/components/remocn/countdown";
 
const CountdownScene = () => (
  <Countdown
    from={3}
    finalLabel="Live"
    caption="remocn 2.0"
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="Countdown"
    component={CountdownScene}
    durationInFrames={260}
    fps={60}
    width={1280}
    height={720}
  />
);

Giant numerals count down from from, each held for beat frames and leaving by a ring wipe, a horizontal slice or a rush past the camera. The final label then hits with a spring over a glowing halo, with an accent dot and a small caption lockup underneath. Pass from, finalLabel and caption. It ships light and dark through the theme prop. The length shown is for the defaults of 3 numerals at 20 frames; it is from * beat + 32 in general.

Props17

PropTypeDefault
from
number3

First number of the countdown.

finalLabel
string"Live"

What the countdown lands on: "Live", a product name, a date.

indicator
booleantrue

Show the small accent dot before the final label.

caption
string"remocn 2.0"

Small lockup under the final label. Pass "" to hide it.

logo
React.ReactNode—

Replaces the default Remocn mark in the lockup.

beat
number20

Frames per number.

fontWeight
number400

Weight of the countdown numerals.

halo
booleantrue

Glowing ring behind the numerals that opens around the final label.

accent
string"#3B5BFD"

Colour of the ring sweep, cut line and final dot.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Bricolage Grotesque"

Typeface for the copy. Load the font in your project first.

scale
number1

Size of the foreground around the frame's center; the background stays put.

delay
number0

Frames to hold the first frame before anything moves.

grain
booleantrue

Film grain over the scene.

speed
number1

Playback speed multiplier; 1 is the designed pace.

theme
"dark" | "light""dark"

Ships light and dark.

  • fromnumber

    First number of the countdown.

    Default3

  • finalLabelstring

    What the countdown lands on: "Live", a product name, a date.

    Default"Live"

  • indicatorboolean

    Show the small accent dot before the final label.

    Defaulttrue

  • captionstring

    Small lockup under the final label. Pass "" to hide it.

    Default"remocn 2.0"

  • logoReact.ReactNode

    Replaces the default Remocn mark in the lockup.

  • beatnumber

    Frames per number.

    Default20

  • fontWeightnumber

    Weight of the countdown numerals.

    Default400

  • haloboolean

    Glowing ring behind the numerals that opens around the final label.

    Defaulttrue

  • accentstring

    Colour of the ring sweep, cut line and final dot.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Bricolage Grotesque"

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • speednumber

    Playback speed multiplier; 1 is the designed pace.

    Default1

  • theme"dark" | "light"

    Ships light and dark.

    Default"dark"