Lumen Count

A glowing number counts up with a soft floor reflection and a caption beneath it. A free, MIT-licensed Remotion number animation.

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

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { LumenCount } from "@/components/remocn/lumen-count";
 
const LumenCountScene = () => <LumenCount value={200} suffix="+" label="components for your launch video" />;
 
export const RemotionRoot = () => (
  <Composition
    id="LumenCount"
    component={LumenCountScene}
    durationInFrames={240}
    fps={60}
    width={1280}
    height={720}
  />
);

A big number counts up on a dark stage while its fill brightens from dim to a glowing gradient, flares once on arrival and casts a soft reflection on the floor; the caption fades in underneath. Pass value and label, plus optional suffix and eyebrow. It ships light and dark through theme.

Props16

PropTypeDefault
value
number200

The number the count lands on.

from
number1

Starting number; the count climbs on a log curve from here.

suffix
string""

Text appended to the number, such as a plus sign.

label
string"components, ready to light up your launch video"

Caption under the number.

eyebrow
string""

Small line above the number; hidden when empty.

countFrames
number52

Frames the count takes to climb to the value; the flare and label follow it.

glow
number1

Strength of the bloom around the number; 0 turns it off.

accent
string"#3B5BFD"

Base color of the glow gradient.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Geist"

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

grain
booleantrue

Film grain over the scene.

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.

theme
"dark" | "light""dark"

Light or dark palette.

  • valuenumber

    The number the count lands on.

    Default200

  • fromnumber

    Starting number; the count climbs on a log curve from here.

    Default1

  • suffixstring

    Text appended to the number, such as a plus sign.

    Default""

  • labelstring

    Caption under the number.

    Default"components, ready to light up your launch video"

  • eyebrowstring

    Small line above the number; hidden when empty.

    Default""

  • countFramesnumber

    Frames the count takes to climb to the value; the flare and label follow it.

    Default52

  • glownumber

    Strength of the bloom around the number; 0 turns it off.

    Default1

  • accentstring

    Base color of the glow gradient.

    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"Geist"

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • 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.

    Default1

  • theme"dark" | "light"

    Light or dark palette.

    Default"dark"