Font Cycle
One word rapidly cycles through typefaces, each labeled, before settling in its final face. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/font-cycleUsage
// src/Root.tsx
import { Composition } from "remotion";
import { FontCycle } from "@/components/remocn/font-cycle";
const FontCycleScene = () => (
<FontCycle word="Shipped" passes={2} showLabel />
);
export const RemotionRoot = () => (
<Composition
id="FontCycle"
component={FontCycleScene}
durationInFrames={130}
fps={30}
width={1280}
height={720}
/>
);The word swaps through the fonts list for passes rounds, starting fast and slowing, with the font name shown as a small label under it. It then lands in the final face with a small settle and a gradient sheen while the guides fade. Pass word, and custom fonts or final only if their font families are already loaded in your project; it ships light and dark through theme.
Props15
| Prop | Type | Default |
|---|---|---|
| word | string"Launch" The word that cycles through the typefaces. | |
| fonts | FontCycleFace[]DEFAULT_FONTS Faces to cycle through; each needs a loaded family and a label. | |
| final | FontCycleFaceFINAL_FACE Face the word settles into at the end. | |
| passes | number2 How many times the font list is cycled. | |
| showLabel | booleantrue Show each font's name under the word. | |
| beat | number3 Frames each face shows at full pace; the start and end of the cycle stretch from it. | |
| guides | booleantrue Show the baseline and cap-height guides behind the word. | |
| accent | string"#3B5BFD" Color of the label dot once the word lands. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| 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. | |
- wordstring
The word that cycles through the typefaces.
Default
"Launch" - fontsFontCycleFace[]
Faces to cycle through; each needs a loaded family and a label.
Default
DEFAULT_FONTS - finalFontCycleFace
Face the word settles into at the end.
Default
FINAL_FACE - passesnumber
How many times the font list is cycled.
Default
2 - showLabelboolean
Show each font's name under the word.
Default
true - beatnumber
Frames each face shows at full pace; the start and end of the cycle stretch from it.
Default
3 - guidesboolean
Show the baseline and cap-height guides behind the word.
Default
true - accentstring
Color of the label dot once the word lands.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- 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.
Default
1