Strobe Words
Big words strobe in on flashing fields at a tightening rhythm, then land on a poster with the logo. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/strobe-wordsUsage
// src/Root.tsx
import { Composition } from "remotion";
import { StrobeWords } from "@/components/remocn/strobe-words";
const StrobeWordsScene = () => <StrobeWords words={["Plan.", "Write.", "Render.", "Ship."]} accent="#3B5BFD" />;
export const RemotionRoot = () => (
<Composition
id="StrobeWords"
component={StrobeWordsScene}
durationInFrames={230}
fps={60}
width={1280}
height={720}
/>
);The words cycle on hard cuts across glow, dark and light fields, with beats that start slow and tighten, then the last word holds as a poster with the logo below. Pass words and optionally rhythm (frames per cut) and logo; it ships light and dark through theme.
Props12
| Prop | Type | Default |
|---|---|---|
| words | string[]["Plan.", "Write.", "Render.", "Ship."] Words that strobe in order; the last one holds as the poster. | |
| rhythm | number[]— Frames each cut holds. Defaults to a tightening beat. | |
| beat | number6 Frames of the first strobe cut when rhythm is unset; later cuts speed up to half that. | |
| cuts | number13 Fewest strobe cuts before the poster when rhythm is unset. | |
| logo | React.ReactNode— Replaces the default logo on the poster. | |
| accent | string"#3B5BFD" Color of trailing punctuation on the dark and light fields. | |
| fontFamily | string"Sora" Typeface for the copy. Load the font in your project first. | |
| grain | booleantrue Film grain over the scene. | |
| 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. | |
| theme | "dark" | "light""dark" Light or dark ground; ships both. | |
| speed | number1 Playback speed multiplier. | |
- wordsstring[]
Words that strobe in order; the last one holds as the poster.
Default
["Plan.", "Write.", "Render.", "Ship."] - rhythmnumber[]
Frames each cut holds. Defaults to a tightening beat.
- beatnumber
Frames of the first strobe cut when rhythm is unset; later cuts speed up to half that.
Default
6 - cutsnumber
Fewest strobe cuts before the poster when rhythm is unset.
Default
13 - logoReact.ReactNode
Replaces the default logo on the poster.
- accentstring
Color of trailing punctuation on the dark and light fields.
Default
"#3B5BFD" - fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Sora" - grainboolean
Film grain over the scene.
Default
true - 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 - theme"dark" | "light"
Light or dark ground; ships both.
Default
"dark" - speednumber
Playback speed multiplier.
Default
1