Rush Type
White words blast into vertical RGB shutter trails, one word of a short phrase at a time: red, green and blue streaks come only from the motion, and each word rests sharp and white in between. A free, MIT-licensed Remotion text animation.
In Remotion, Rush Type cycles a short phrase one forceful word at a time, and each white word blasts into vertical RGB shutter trails that come from the motion alone, then rests sharp and white. Use it for a loud, fast tech promo opener.
$ pnpm dlx shadcn@latest add @remocn/rush-typeHow to make words blast into RGB shutter trails in Remotion
Words that burst into vertical red, green and blue streaks and then settle back to white are one component. You don't need React Three Fiber, @react-three/postprocessing, three.js or GSAP for it: Rush Type draws the trails itself on a WebGL canvas inside the Remotion frame. Install it and pass your phrase:
npx shadcn@latest add @remocn/rush-type- Each word rests pixel-sharp, then grows fast through a vertical move. The same white glyph is accumulated into the red, green and blue channels over different shutter lengths, so the color fringes exist only while it moves.
phrasesets the words,verticalStretchhow far the streak reaches,chromaticSpreadhow far apart the three channels are (0gives no color).restDurationandpeakHoldDurationset how long a word stays readable and how long the blast holds.- It always paints an opaque background (
backgroundColor, black by default).
For a horizontal digital glitch use RGB Glitch Text; if the words must stay readable while they move, use Word Push.
Good to know
- Length: 104 frames of motion at 30 fps with the default props; the component exports
rushTypeLengthfor it, and the Usage example passesrushTypeLength * 2for a 60 fps composition. Props counted in frames stay in 30 fps frames at any frame rate, see Frame rate. - Installs:
remotionfrom npm, plus the remocn helpersframe-rate,timeline. The shadcn CLI copies the source into your project; nothing else is needed at runtime. - Font: no web font is loaded; the default stack is Arial, Helvetica, sans-serif. Load your own face in the project and pass it as
fontFamily.
Usage
RushType shows one word of a short phrase on a flat opaque frame — black
with white type by default. The word rests pixel-sharp, then grows rapidly
through a vertical orbit. During
that motion, the same monochrome glyph is accumulated into red, green, and blue
channels over different shutter lengths. Green travels furthest, blue remains
tightest, and red sits between them.
The channels are divided by their accumulated sample weights, so the effect conserves energy instead of brightening as blur length increases. When motion stops, the shutter sweep collapses, all channels sample the same pixels, and the word resolves to white without a crossfade or a separately colored layer.
// src/Root.tsx
import { Composition } from "remotion";
import {
RushType,
rushTypeLength,
} from "@/components/remocn/rush-type";
export const RemotionRoot = () => (
<Composition
id="RushType"
component={RushType}
durationInFrames={rushTypeLength * 2}
fps={60}
width={1280}
height={720}
defaultProps={{ phrase: "gone before you look" }}
/>
);Controlling The Color Split
chromaticSpread changes the distance between the three shutter lengths. At
0, all three channels share the same shutter and no color appears. At 1,
the component uses the reference ratio of approximately 0.62 / 1 / 0.34 for
red, green, and blue. Higher values widen that timing difference; they do not
apply new colors to the word.
color and backgroundColor remap those accumulated intensities onto your own
palette: every pixel blends from the background toward the text color. The
chromatic trails live in the difference between channels, so they stay visible
with white, light, or pastel text but fade as the text color approaches a
saturated primary — pure #ff0000 leaves nothing for the green and blue
shutters to show.
<RushType
phrase="move before it settles"
verticalStretch={8}
chromaticSpread={1.25}
restDuration={15}
peakHoldDuration={4}
/>Props12
| Prop | Type | Default |
|---|---|---|
| phrase | string"gone before you look" Whitespace-delimited phrase shown one word per cycle | |
| fontSize | number68 Cap height of the resting word in composition pixels | |
| fontFamily | string"Arial, Helvetica, sans-serif" Canvas font-family used to rasterize the glyph atlas | |
| fontWeight | number400 Font weight used for every word | |
| color | string"#ffffff" Hex color of the type and its motion trails | |
| backgroundColor | string"#000000" Hex color of the opaque frame behind the type | |
| verticalStretch | number7 Authored peak vertical scale before perspective | |
| chromaticSpread | number1 Distance between the three motion-shutter lengths | |
| restDuration | number12 Readable resting phase in frames | |
| peakHoldDuration | number3 Total near-point hang around each word swap in frames | |
| speed | number1 Global playback multiplier | |
| className | string— Optional class name applied to the full-frame root | |
- phrasestring
Whitespace-delimited phrase shown one word per cycle
Default
"gone before you look" - fontSizenumber
Cap height of the resting word in composition pixels
Default
68 - fontFamilystring
Canvas font-family used to rasterize the glyph atlas
Default
"Arial, Helvetica, sans-serif" - fontWeightnumber
Font weight used for every word
Default
400 - colorstring
Hex color of the type and its motion trails
Default
"#ffffff" - backgroundColorstring
Hex color of the opaque frame behind the type
Default
"#000000" - verticalStretchnumber
Authored peak vertical scale before perspective
Default
7 - chromaticSpreadnumber
Distance between the three motion-shutter lengths
Default
1 - restDurationnumber
Readable resting phase in frames
Default
12 - peakHoldDurationnumber
Total near-point hang around each word swap in frames
Default
3 - speednumber
Global playback multiplier
Default
1 - classNamestring
Optional class name applied to the full-frame root
Default
—
Notes
The blur is vertical-only and sweeps scale rather than position. Bloom, CRT modulation, the neutral ground, stroke thinning, and swap separation are all driven by motion progress and become exactly zero during the resting phase. The component uses deterministic frame time only: it has no timers, animation frames, pointer state, scroll state, random samples, or device-dependent quality switches.