Lumen Count
A glowing number counts up with a soft floor reflection and a caption beneath it. A free, MIT-licensed Remotion number animation.
In Remotion, Lumen Count is a glowing metric with a reflection: one big number counts up on a dark stage with a soft glow, casts a floor reflection under it and lands with a small caption below.
$ pnpm dlx shadcn@latest add @remocn/lumen-countHow to make a glowing count-up number with a floor reflection in Remotion
A hero count-up where one big metric glows on a dark background, with a floor reflection and a caption, is one component. You don't need -webkit-box-reflect or a mirrored mask-image copy, a count-up built from interpolate() and Easing, or a loadFont call. Install it and pass the number:
npx shadcn@latest add @remocn/lumen-countvalueis the number the count lands on; it climbs on a log curve fromfrom(default 1), so a count across orders of magnitude still reads.suffixadds a sign such as+.- The fill brightens from dim to a glowing gradient in the
accentcolor, flares once on arrival, and the reflection sits on the floor under it.glowsets the bloom;0turns it off. labelis the caption under the number;eyebrowadds an optional small line above it.countFramessets how long the climb takes.
For a hard, punchy landing instead of a smooth glow use Smash Count.
Good to know
- Length: 86 frames of motion at 30 fps (172 at 60 fps) with the default props. That is the minimum for its
Sequence; add your own hold on top. The Usage example below is a 60 fps composition with a hold, so itsdurationInFrames(240) is longer than twice the motion. The component's own props counted in frames stay in 30 fps frames at any frame rate, see Frame rate. - Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project; nothing else is needed at runtime. - Font: loads Geist itself through
@remotion/google-fonts, so the default needs no setup. PassfontFamilyto use your own face, and load that font in your project.
Usage
// 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. The default loads itself; load any other 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. The default loads itself; load any other 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"