Slit Scan

A word is slit-scanned into view through fluted slices, with a speed stat in the caption. A free, MIT-licensed Remotion text animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/slit-scan

Usage

tsx
// 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

PropTypeDefault
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.

    Default120

  • trailnumber

    Frames the farthest slice lags behind the word at the start.

    Default34

  • fontWeightnumber

    Weight of the word.

    Default500

  • 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.

    Defaulttrue

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • theme"dark" | "light"

    Colour scheme; ships light and dark.

    Default"dark"

  • speednumber

    Playback multiplier; above 1 plays faster.

    Default1