Row Count
A big number rolls up across stacked ruled rows, adding a row at each thousands group. A free, MIT-licensed Remotion number animation.
$ pnpm dlx shadcn@latest add @remocn/row-countUsage
// src/Root.tsx
import { Composition } from "remotion";
import { RowCount } from "@/components/remocn/row-count";
const RowCountScene = () => <RowCount value={27300000} label="frames rendered in every region, every night" />;
export const RemotionRoot = () => (
<Composition
id="RowCount"
component={RowCountScene}
durationInFrames={130}
fps={30}
width={1280}
height={720}
/>
);The number counts up on a log curve beside a stack of ruled rows; each thousands group gets its own row, and a new row springs in as the count crosses 1,000, 1,000,000 and beyond, with the newest row tinted in the accent. A small label sits to the side. Pass value, from, prefix and label. It ships light and dark through theme.
Props13
| Prop | Type | Default |
|---|---|---|
| value | number27300000 The number the count lands on. | |
| from | number1 Starting number; the count climbs on a log curve. | |
| prefix | string"" Text before the number. | |
| label | string"frames rendered in every region, every night" Small label beside the stack. | |
| countLength | number78 Frames the count takes to reach the value. | |
| accent | string— Tint for the newest row; defaults to the theme accent. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Stage background color; overrides the theme ground. | |
| fontFamily | string"IBM Plex Sans" 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. | |
| speed | number1 Playback speed multiplier. | |
| theme | "dark" | "light""dark" Light or dark palette. | |
- valuenumber
The number the count lands on.
Default
27300000 - fromnumber
Starting number; the count climbs on a log curve.
Default
1 - prefixstring
Text before the number.
Default
"" - labelstring
Small label beside the stack.
Default
"frames rendered in every region, every night" - countLengthnumber
Frames the count takes to reach the value.
Default
78 - accentstring
Tint for the newest row; defaults to the theme accent.
- inkstring
Text color; overrides the theme ink.
- backgroundstring
Stage background color; overrides the theme ground.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"IBM Plex Sans" - 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"