Churn Count

A huge frame counter reaches 72,960 under a small blue caption on black. A free, MIT-licensed Remotion number animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/churn-count

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ChurnCount } from "@/components/remocn/churn-count";
 
const ChurnCountScene = () => <ChurnCount value={72960} label="frames played back live, straight from your props" />;
 
export const RemotionRoot = () => (
  <Composition
    id="ChurnCount"
    component={ChurnCountScene}
    durationInFrames={260}
    fps={60}
    width={1280}
    height={720}
  />
);

A giant number sits at the bottom right and counts from from to value with a fast ease-out. Digits that are still changing are drawn thin and in the accent colour, then thicken back to full weight as they settle. A small caption fades in beside it. Pass value, from and label. It ships light and dark through the theme prop.

Props14

PropTypeDefault
value
number72960

The final number the count lands on.

from
number0

The number the count starts from.

label
string"frames played back live, straight from your props"

Small caption beside the figure.

separator
string","

Thousands separator in the figure.

duration
number76

Frames the count takes from `from` to `value`.

accent
string—

Colour of digits while they are still changing. Hex value expected.

ink
string—

Text color; overrides the theme ink. Hex value expected.

background
string—

Stage colour; pass 'transparent' to layer over other footage.

fontFamily
string"Urbanist"

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

fontWeight
number600

Weight the digits settle to; changing digits drop to 100.

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.

speed
number1

Playback speed multiplier; 1 is the designed pace.

theme
"dark" | "light""dark"

Ships light and dark.

  • valuenumber

    The final number the count lands on.

    Default72960

  • fromnumber

    The number the count starts from.

    Default0

  • labelstring

    Small caption beside the figure.

    Default"frames played back live, straight from your props"

  • separatorstring

    Thousands separator in the figure.

    Default","

  • durationnumber

    Frames the count takes from `from` to `value`.

    Default76

  • accentstring

    Colour of digits while they are still changing. Hex value expected.

  • inkstring

    Text color; overrides the theme ink. Hex value expected.

  • backgroundstring

    Stage colour; pass 'transparent' to layer over other footage.

  • fontFamilystring

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

    Default"Urbanist"

  • fontWeightnumber

    Weight the digits settle to; changing digits drop to 100.

    Default600

  • 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

  • speednumber

    Playback speed multiplier; 1 is the designed pace.

    Default1

  • theme"dark" | "light"

    Ships light and dark.

    Default"dark"