Script Cut

A one-line script is cut by little accent ticks into segments, and each piece flies up to fill the screen as a separate shot, like a behind-the-scenes storyboard. A free, MIT-licensed Remotion text animation.

In Remotion, Script Cut lays one line of script along the bottom, cuts it into segments with little accent ticks, and flies each piece up to fill the screen like a separate shot. Use it for a behind-the-scenes or how-we-made-it beat.

Installation
$ pnpm dlx shadcn@latest add @remocn/script-cut

How to cut a script line into shots in Remotion

A single line of script cut by accent ticks into segments, each flying up to fill the screen in turn, is one component. You don't need TransitionSeries from @remotion/transitions or fitText to size each piece. Install it and pass the script as phrases:

bash
npx shadcn@latest add @remocn/script-cut
  • The whole script appears small along the bottom, then accent ticks drop in between the phrases of shots.
  • Each shot lights up in turn and its words fly up from the row (stagger frames apart) to fill the frame at large size, then exit for the next one. The last shot holds for hold frames.
  • Timing adapts to the composition length: the shots share the durationInFrames you give it.

To remove filler words from a transcript use Filler Cut; to cut one word out and replace it use Scissors Cut.

Good to know

  • Length: 176 frames of motion at 30 fps (352 at 60 fps) with the three default shots in a 200-frame composition; since timing follows the composition length, check the pacing in the preview after you change shots or the duration. Props counted in frames stay in 30 fps frames at any frame rate, see Frame rate.
  • Installs: remotion, @remotion/google-fonts from npm, plus the remocn helpers glide, frame-rate, timeline. The shadcn CLI copies the source into your project; nothing else is needed at runtime.
  • Font: loads Epilogue itself through @remotion/google-fonts. Pass fontFamily to use your own face, and load that font in your project.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ScriptCut } from "@/components/remocn/script-cut";
 
const ScriptCutScene = () => (
  <ScriptCut
    shots={["We wrote the launch as one line,", "cut it twice,", "and every piece became a shot."]}
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="ScriptCut"
    component={ScriptCutScene}
    durationInFrames={400}
    fps={60}
    width={1280}
    height={720}
  />
);

The whole script appears as a small line along the bottom, then accent ticks drop in to cut it into pieces. Each shot lights up in turn and its words fly up from the row to fill the frame at large size, then exit for the next. Pass shots as the script split into phrases; timing adapts to the composition length, and 176 frames assumes the three defaults in 200. It ships light and dark.

Props12

PropTypeDefault
shots
string[]DEFAULT_SHOTS

Script pieces in order; together they form the small line below.

hold
number32

Frames the last shot holds at the end.

stagger
number2

Frames between words as a shot flies up from the script.

fontWeight
number500

Weight of the copy.

accent
string—

Color of the cut ticks and the lit shot.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Epilogue"

Typeface for the copy. Load the font in your project first.

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.

speed
number1

Playback speed multiplier for the whole timeline.

theme
"dark" | "light""dark"

Light or dark palette.

  • shotsstring[]

    Script pieces in order; together they form the small line below.

    DefaultDEFAULT_SHOTS

  • holdnumber

    Frames the last shot holds at the end.

    Default32

  • staggernumber

    Frames between words as a shot flies up from the script.

    Default2

  • fontWeightnumber

    Weight of the copy.

    Default500

  • accentstring

    Color of the cut ticks and the lit shot.

  • inkstring

    Text color; 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"Epilogue"

  • 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

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1

  • theme"dark" | "light"

    Light or dark palette.

    Default"dark"