Scissors Cut
Scissors cut a word out of a line, and a replacement word slides into the gap. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/scissors-cutUsage
// 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={250}
fps={30}
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
| Prop | Type | Default |
|---|---|---|
| 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.
Default
300 - staggernumber
Frames between letters as they fade in.
Default
1.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.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - theme"dark" | "light"
Light or dark ground; the component ships both.
Default
"dark" - speednumber
Playback speed multiplier for the whole timeline.
Default
1