Tally Marks
Hand-drawn tally marks fill rows, straighten into neat groups and resolve into a counted total. A free, MIT-licensed Remotion number animation.
$ pnpm dlx shadcn@latest add @remocn/tally-marksUsage
// src/Root.tsx
import { Composition } from "remotion";
import { TallyMarks } from "@/components/remocn/tally-marks";
const TallyMarksScene = () => <TallyMarks value={1240} label="videos rendered on launch day" />;
export const RemotionRoot = () => (
<Composition
id="TallyMarks"
component={TallyMarksScene}
durationInFrames={360}
fps={60}
width={1280}
height={720}
/>
);Hand-drawn tally strokes scratch in across the frame while the camera drifts over them, then straighten into neat tally groups before collapsing into a gradient total with a label beneath. Pass value and label; rows and groupsPerRow size the tally field and accent colors the numeral. It ships light and dark through theme.
Props15
| Prop | Type | Default |
|---|---|---|
| value | number1240 The total the tally resolves into. | |
| label | string"videos rendered on launch day" Caption under the total. | |
| rows | number4 How many rows of tally groups. | |
| groupsPerRow | number9 How many tally groups sit in each row. | |
| strokeWidth | number9 Thickness of a tally stroke, in pixels at 720p; scales with the frame. | |
| stagger | number2 Frames between digits as the total rolls in. | |
| accent | string"#3B5BFD" End color of the numeral gradient. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Fraunces" 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. | |
| grain | booleantrue Film grain over the scene. | |
| theme | "dark" | "light""dark" Light or dark palette. | |
| speed | number1 Playback speed multiplier. | |
- valuenumber
The total the tally resolves into.
Default
1240 - labelstring
Caption under the total.
Default
"videos rendered on launch day" - rowsnumber
How many rows of tally groups.
Default
4 - groupsPerRownumber
How many tally groups sit in each row.
Default
9 - strokeWidthnumber
Thickness of a tally stroke, in pixels at 720p; scales with the frame.
Default
9 - staggernumber
Frames between digits as the total rolls in.
Default
2 - accentstring
End color of the numeral 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
"Fraunces" - 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 - grainboolean
Film grain over the scene.
Default
true - theme"dark" | "light"
Light or dark palette.
Default
"dark" - speednumber
Playback speed multiplier.
Default
1