Scissors Cut

Scissors cut a word out of a sentence along a dashed outline, the cut piece falls away, and a replacement word slides into the hole, such as swapping a slow timeline for a fast one. A free, MIT-licensed Remotion text animation.

In Remotion, Scissors Cut traces a dashed outline around one word of a sentence, snips it out with a pair of scissors and slides a replacement word into the hole, for example swapping a slow timeline for a fast one. Use it for a playful before and after tagline.

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

How to animate scissors cutting a word out of a sentence in Remotion

Scissors cutting a word out of a line and a replacement sliding into the gap is one component. You don't need a Lottie scissors file, @remotion/paths for the cut path or measureText from @remotion/layout-utils. Install it and pass the sentence in parts:

bash
npx shadcn@latest add @remocn/scissors-cut
  • Pass before, cut, after and replacement. The line fades in letter by letter, a dashed outline traces the cut phrase and the scissors snip along it.
  • The cut piece falls away, the line reflows, and the replacement slides into the gap.
  • Beyond speed and delay, the timing prop moves or stretches each step by id: enter, room, dash, scissorsIn, cut, scissorsOut, lift, reflow, replacement, close. Counts are 30 fps frames.
  • Letter widths are measured before the first frame (held with delayRender), so the reflow lands without a jump.

For a quiet, fast swap use Strikethrough Replace.

Good to know

  • Length: 202 frames of motion at 30 fps (404 at 60 fps) with the default props. Longer phrases take a little longer. That is the minimum for its Sequence; add your own hold on top. The Usage example below is a 60 fps composition with a hold, so its durationInFrames is longer than twice the motion. The component's own 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 Onest (weight 300) 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 { ScissorsCut } from "@/components/remocn/scissors-cut";
 
const ScissorsCutScene = () => (
  <ScissorsCut before="Ship " cut="next quarter" after="." replacement="now" />
);
 
export const RemotionRoot = () => (
  <Composition
    id="ScissorsCut"
    component={ScissorsCutScene}
    durationInFrames={500}
    fps={60}
    width={1280}
    height={720}
  />
);

A line appears, a dashed outline traces the cut phrase and a pair of scissors snips along it. The cut piece falls away, the line reflows, and the replacement slides into the gap. Pass before, cut, after and replacement. It takes a theme prop and ships light and dark.

Props14

PropTypeDefault
before
string"Launch "

Text before the cut-out. Keep the trailing space.

cut
string"next month"

The words the scissors cut out.

after
string"."

Text after the cut-out.

replacement
string"today"

What slides into the gap.

fontWeight
number300

Weight of the line.

stagger
number1.5

Frames between letters as they fade in.

accent
string"#3B5BFD"

Scissor handles and the replacement word.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Onest"

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.

theme
"dark" | "light""dark"

Light or dark ground; the component ships both.

speed
number1

Playback speed multiplier for the whole timeline.

  • beforestring

    Text before the cut-out. Keep the trailing space.

    Default"Launch "

  • cutstring

    The words the scissors cut out.

    Default"next month"

  • afterstring

    Text after the cut-out.

    Default"."

  • replacementstring

    What slides into the gap.

    Default"today"

  • fontWeightnumber

    Weight of the line.

    Default300

  • staggernumber

    Frames between letters as they fade in.

    Default1.5

  • accentstring

    Scissor handles and the replacement word.

    Default"#3B5BFD"

  • 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"Onest"

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

    Light or dark ground; the component ships both.

    Default"dark"

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1