Scan Reveal
A scan line reveals a headline over an underline with a small subtitle below. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/scan-revealUsage
// src/Root.tsx
import { Composition } from "remotion";
import { ScanReveal } from "@/components/remocn/scan-reveal";
const ScanRevealScene = () => (
<ScanReveal title="Built frame by frame" subtitle="Launch films from components you own." />
);
export const RemotionRoot = () => (
<Composition
id="ScanReveal"
component={ScanRevealScene}
durationInFrames={284}
fps={60}
width={1280}
height={720}
/>
);Guide marks appear, a scan line travels down to reveal the headline, then it moves up and parks while the subtitle fades in beneath. Pass title and subtitle; it ships light and dark.
Props13
| Prop | Type | Default |
|---|---|---|
| title | string"Built frame by frame" The headline revealed by the scan. | |
| subtitle | string"Launch films from components you own." One-line subtitle under the headline. | |
| scan | number56 Frames the scan line takes to sweep down the title. | |
| guides | booleantrue Baseline guides and dot grid behind the type. | |
| accent | string"#3B5BFD" Accent colour (any CSS colour). | |
| ink | string— Color of the halftone title before it develops; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Space Grotesk" 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. | |
- titlestring
The headline revealed by the scan.
Default
"Built frame by frame" - subtitlestring
One-line subtitle under the headline.
Default
"Launch films from components you own." - scannumber
Frames the scan line takes to sweep down the title.
Default
56 - guidesboolean
Baseline guides and dot grid behind the type.
Default
true - accentstring
Accent colour (any CSS colour).
Default
"#3B5BFD" - inkstring
Color of the halftone title before it develops; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Space Grotesk" - 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