Slit Scan
A word comes into focus out of a streaked blur made of fluted vertical slices, slit-scan style, then a speed stat caption fades in under it. A free, MIT-licensed Remotion text animation.
In Remotion, Slit Scan brings a word into focus out of a streaked blur made of fluted vertical slices, then fades in a caption with a speed number. Use it for a speed or performance claim in a launch video.
$ pnpm dlx shadcn@latest add @remocn/slit-scanHow to make a word come into focus out of streaked fluted slices
A word that resolves out of a streaky, fluted-glass blur, with a speed stat in the caption, is one component:
npx shadcn@latest add @remocn/slit-scan- The word is cut into
slicesvertical strips (120 by default). Every strip plays the same slide-in late by its share oftrail(34 frames), so the word smears into streaks, then the strips catch up between frames 36 and 76 and the word settles sharp. - The ribbed, fluted look is plain CSS gradients over DOM strips: no WebGL, three.js or shader is involved.
- At frame 78 a rule draws in and the
captionfades in under the word. Put the stat in the caption text, for exampleFirst render in 1.8s, down from 4.7s; it is not counted up.
To slow the word down on a key syllable use Speed Ramp Word; for a plain blur resolve, Focus Blur Resolve.
Good to know
- Length: 98 frames of motion at 30 fps (196 at 60 fps) with the default props. That is the minimum for its
Sequence; add your own hold on top. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion (durationInFrames,Sequencelengths) are doubled. The component's own props counted in frames (delay, stagger, hold) stay in 30 fps frames at any frame rate, see Frame rate. - Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: loads Bricolage Grotesque itself through
@remotion/google-fonts, no setup needed. PassfontFamilyto use your own face, and load that font in your project.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { SlitScan } from "@/components/remocn/slit-scan";
const SlitScanScene = () => (
<SlitScan word="Faster." caption="First render in 1.8s, down from 4.7s" />
);
export const RemotionRoot = () => (
<Composition
id="SlitScan"
component={SlitScanScene}
durationInFrames={250}
fps={60}
width={1280}
height={720}
/>
);A word streaks through vertical fluted slices and resolves into clean type, then a caption with a stat fades in under it. Pass word, caption and slices; it ships light and dark.
Props14
| Prop | Type | Default |
|---|---|---|
| word | string"Faster." The word that resolves from the scan. | |
| caption | string"First render in 1.8s, down from 4.7s" Stat line under the word. | |
| slices | number120 Number of vertical slices in the scan. | |
| trail | number34 Frames the farthest slice lags behind the word at the start. | |
| fontWeight | number500 Weight of the word. | |
| accent | string"#3B5BFD" Accent colour (any CSS colour). | |
| ink | string— Text color of the settled word; overrides the theme ink. | |
| background | string— Solid fill in place of the fluted ground; pass "transparent" to drop it. | |
| fontFamily | string"Bricolage Grotesque" 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" Colour scheme; ships light and dark. | |
| speed | number1 Playback multiplier; above 1 plays faster. | |
- wordstring
The word that resolves from the scan.
Default
"Faster." - captionstring
Stat line under the word.
Default
"First render in 1.8s, down from 4.7s" - slicesnumber
Number of vertical slices in the scan.
Default
120 - trailnumber
Frames the farthest slice lags behind the word at the start.
Default
34 - fontWeightnumber
Weight of the word.
Default
500 - accentstring
Accent colour (any CSS colour).
Default
"#3B5BFD" - inkstring
Text color of the settled word; overrides the theme ink.
- backgroundstring
Solid fill in place of the fluted ground; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Bricolage Grotesque" - 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"
Colour scheme; ships light and dark.
Default
"dark" - speednumber
Playback multiplier; above 1 plays faster.
Default
1