Stripe Count
A figure counts up on a bold full-bleed color field as stripes fill its outline, under a caption band. A free, MIT-licensed Remotion number animation.
$ pnpm dlx shadcn@latest add @remocn/stripe-countUsage
// src/Root.tsx
import { Composition } from "remotion";
import { StripeCount } from "@/components/remocn/stripe-count";
const StripeCountScene = () => <StripeCount value={184} accent="#FF4F00" label="scenes that take your brand colour from one prop" />;
export const RemotionRoot = () => (
<Composition
id="StripeCount"
component={StripeCountScene}
durationInFrames={260}
fps={60}
width={1280}
height={720}
/>
);The frame floods with the accent color and a dark caption band sits at the top. The figure counts up as an outline while horizontal stripes sweep across and thicken until the digits are solid dark; the caption rises in word by word. Pass value, from and label; stripes sets the stripe count and accent the frame color. It ships light and dark through theme.
Props16
| Prop | Type | Default |
|---|---|---|
| value | number184 The number the count lands on. | |
| from | number0 Starting number of the count. | |
| prefix | string"" Text before the number. | |
| suffix | string"" Text after the number. | |
| label | string"scenes that take your brand colour from one prop" Caption in the top band, rising word by word. | |
| stripes | number12 How many horizontal stripes fill the figure. | |
| paintDuration | number60 Frames the stripes take to paint the figure in and count it up. | |
| stagger | number2 Frames between label words. | |
| accent | string— Full-bleed frame color; defaults to orange. | |
| ink | string— Color of the striped figure; overrides the theme ink. | |
| background | string— Fill of the caption band; defaults to the theme field. | |
| fontFamily | string"Familjen Grotesk" 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
184 - fromnumber
Starting number of the count.
Default
0 - prefixstring
Text before the number.
Default
"" - suffixstring
Text after the number.
Default
"" - labelstring
Caption in the top band, rising word by word.
Default
"scenes that take your brand colour from one prop" - stripesnumber
How many horizontal stripes fill the figure.
Default
12 - paintDurationnumber
Frames the stripes take to paint the figure in and count it up.
Default
60 - staggernumber
Frames between label words.
Default
2 - accentstring
Full-bleed frame color; defaults to orange.
- inkstring
Color of the striped figure; overrides the theme ink.
- backgroundstring
Fill of the caption band; defaults to the theme field.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Familjen Grotesk" - 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"