Lumen Count
A glowing number counts up with a soft floor reflection and a caption beneath it. A free, MIT-licensed Remotion number animation.
$ pnpm dlx shadcn@latest add @remocn/lumen-countUsage
// 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
| Prop | Type | Default |
|---|---|---|
| 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.
Default
200 - fromnumber
Starting number; the count climbs on a log curve from here.
Default
1 - 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.
Default
52 - glownumber
Strength of the bloom around the number; 0 turns it off.
Default
1 - 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.
Default
true - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback speed multiplier.
Default
1 - theme"dark" | "light"
Light or dark palette.
Default
"dark"