Times Turn
A quiet unit beside a large figure is replaced by a turning multiplication sign, then the figure swells. A free, MIT-licensed Remotion number animation.
$ pnpm dlx shadcn@latest add @remocn/times-turnUsage
// src/Root.tsx
import { Composition } from "remotion";
import { TimesTurn } from "@/components/remocn/times-turn";
const TimesTurnScene = () => (
<TimesTurn value="3" before="%" label="more launch cuts from the same storyboard" />
);
export const RemotionRoot = () => (
<Composition
id="TimesTurn"
component={TimesTurnScene}
durationInFrames={260}
fps={60}
width={1280}
height={720}
/>
);The figure rises in beside a small unit. A multiplication sign then turns in on the panel while the unit exits, the figure swells to fill the space, and the label rises in word by word. Pass value, before and label; it ships light and dark through theme.
Props13
| Prop | Type | Default |
|---|---|---|
| value | string"3" Figure shown next to the multiplication sign. | |
| before | string"%" Small unit shown first, which exits as the sign turns in. | |
| label | string"more launch cuts from the same storyboard" Caption that rises in word by word under the figure. | |
| accent | string— Accent color for highlights and small marks. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background color override. Pass "transparent" to composite over other layers. | |
| fontFamily | string"Familjen Grotesk" Typeface for the copy. Load the font in your project first. | |
| fontWeight | number500 Weight of the figure. | |
| stagger | number2 Frames between words of the label. | |
| 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 for the whole timeline. | |
| theme | "dark" | "light""dark" Color theme, "dark" or "light". | |
- valuestring
Figure shown next to the multiplication sign.
Default
"3" - beforestring
Small unit shown first, which exits as the sign turns in.
Default
"%" - labelstring
Caption that rises in word by word under the figure.
Default
"more launch cuts from the same storyboard" - accentstring
Accent color for highlights and small marks.
- inkstring
Text color; overrides the theme ink.
- backgroundstring
Background color override. Pass "transparent" to composite over other layers.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Familjen Grotesk" - fontWeightnumber
Weight of the figure.
Default
500 - staggernumber
Frames between words of the label.
Default
2 - 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 for the whole timeline.
Default
1 - theme"dark" | "light"
Color theme, "dark" or "light".
Default
"dark"