Clock Sweep
A clock hand sweeps a glowing wedge as the line From idea to video in 4 minutes appears. A free, MIT-licensed Remotion number animation.
$ pnpm dlx shadcn@latest add @remocn/clock-sweepUsage
// src/Root.tsx
import { Composition } from "remotion";
import { ClockSweep } from "@/components/remocn/clock-sweep";
const ClockSweepScene = () => <ClockSweep minutes={4} title={"From idea to video\nin 4 minutes"} />;
export const RemotionRoot = () => (
<Composition
id="ClockSweep"
component={ClockSweepScene}
durationInFrames={300}
fps={60}
width={1280}
height={720}
/>
);A ticked clock dial draws in and its hand sweeps a glowing wedge across the given number of minutes while an mm:ss readout counts with it. The hand settles with a small kick, the dial glides to the left and a headline fades in word by word on the right with the number highlighted. Pass minutes and optionally title, which defaults to 'From idea to video in N minutes'. It ships light and dark through the theme prop.
Props13
| Prop | Type | Default |
|---|---|---|
| minutes | number4 Minutes the hand sweeps, between 0.25 and 59. | |
| title | string— Headline on the right; use a line break to split lines. Auto-built from minutes if omitted. | |
| accent | string"#3B5BFD" Colour of the wedge, hand and highlighted number in the headline. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Instrument Sans" Typeface for the copy. Load the font in your project first. | |
| fontWeight | number500 Weight of the headline. | |
| stagger | number2.5 Frames between headline words as they rise in. | |
| 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" Ships light and dark. | |
| speed | number1 Playback speed multiplier; 1 is the designed pace. | |
- minutesnumber
Minutes the hand sweeps, between 0.25 and 59.
Default
4 - titlestring
Headline on the right; use a line break to split lines. Auto-built from minutes if omitted.
- accentstring
Colour of the wedge, hand and highlighted number in the headline.
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
"Instrument Sans" - fontWeightnumber
Weight of the headline.
Default
500 - staggernumber
Frames between headline words as they rise in.
Default
2.5 - 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"
Ships light and dark.
Default
"dark" - speednumber
Playback speed multiplier; 1 is the designed pace.
Default
1