Cut Stat
A blue bar graph wipes upward beside a big minus 44% caption, 'less time to a finished cut'. A free, MIT-licensed Remotion number animation.
$ pnpm dlx shadcn@latest add @remocn/cut-statUsage
// src/Root.tsx
import { Composition } from "remotion";
import { CutStat } from "@/components/remocn/cut-stat";
const CutStatScene = () => (
<CutStat
value={44}
label="less time to a finished cut"
caption="vs. keyframing every scene by hand"
/>
);
export const RemotionRoot = () => (
<Composition
id="CutStat"
component={CutStatScene}
durationInFrames={115}
fps={30}
width={1280}
height={720}
/>
);A bar graph wipes up, then a cut sweeps it down with a flash as the big minus percentage words in and the caption follows. Pass value (the percent cut, 5 to 95), label for the claim, and caption for the comparison. Ships dark and light via theme.
Props19
| Prop | Type | Default |
|---|---|---|
| value | number44 Percent cut; also sets how far the bar drops, from 5 to 95. | |
| decimals | number0 Digits after the decimal point. | |
| prefix | string"−" Text before the number, a minus sign by default. | |
| suffix | string"%" Text after the number. | |
| label | string"less time to a finished cut" Main claim shown beside the number. | |
| caption | string"vs. keyframing every scene by hand" Small line comparing against the old way. | |
| fromLabel | string"Before" Label on the full bar. | |
| toLabel | string"With remocn" Label on the shortened bar. | |
| fontWeight | number500 Weight of the number. | |
| stagger | number3 Frames between the claim's words as they rise in. | |
| accent | string"#3B5BFD" Accent color for the hero element. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Optional CSS background replacing the theme ground. | |
| fontFamily | string"Instrument 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. | |
| grain | booleantrue Film grain over the scene. | |
| speed | number1 Playback multiplier. | |
| theme | "dark" | "light""dark" Dark or light palette. | |
- valuenumber
Percent cut; also sets how far the bar drops, from 5 to 95.
Default
44 - decimalsnumber
Digits after the decimal point.
Default
0 - prefixstring
Text before the number, a minus sign by default.
Default
"−" - suffixstring
Text after the number.
Default
"%" - labelstring
Main claim shown beside the number.
Default
"less time to a finished cut" - captionstring
Small line comparing against the old way.
Default
"vs. keyframing every scene by hand" - fromLabelstring
Label on the full bar.
Default
"Before" - toLabelstring
Label on the shortened bar.
Default
"With remocn" - fontWeightnumber
Weight of the number.
Default
500 - staggernumber
Frames between the claim's words as they rise in.
Default
3 - accentstring
Accent color for the hero element.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Optional CSS background replacing the theme ground.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Instrument 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 - grainboolean
Film grain over the scene.
Default
true - speednumber
Playback multiplier.
Default
1 - theme"dark" | "light"
Dark or light palette.
Default
"dark"