Torn Edge
A torn paper sheet rips away to reveal a bold headline printed on the gradient stage. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/torn-edgeUsage
// src/Root.tsx
import { Composition } from "remotion";
import { TornEdge } from "@/components/remocn/torn-edge";
const TornEdgeScene = () => <TornEdge title="Make it yours." accent="#3B5BFD" />;
export const RemotionRoot = () => (
<Composition
id="TornEdge"
component={TornEdgeScene}
durationInFrames={220}
fps={60}
width={1280}
height={720}
/>
);A gradient paper sheet tears across the frame, the halves part, and the headline is printed on the stage underneath. Pass title and accent (the mid colour of the sheet gradient); it ships light and dark.
Props12
| Prop | Type | Default |
|---|---|---|
| title | string"Make it yours." Headline printed on the stage underneath the sheet. | |
| accent | string"#3B5BFD" Mid colour of the sheet's gradient (gradients.sh "fluted"). | |
| tear | number34 Frames for the tear to run across the sheet. | |
| spread | number0.205 How far each half pulls away, as a share of the frame height. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Stage fill under the sheet; 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 headline around the frame's center; the sheet stays full-bleed. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| speed | number1 Playback multiplier. | |
| theme | "dark" | "light""dark" Colour scheme; ships light and dark. | |
- titlestring
Headline printed on the stage underneath the sheet.
Default
"Make it yours." - accentstring
Mid colour of the sheet's gradient (gradients.sh "fluted").
Default
"#3B5BFD" - tearnumber
Frames for the tear to run across the sheet.
Default
34 - spreadnumber
How far each half pulls away, as a share of the frame height.
Default
0.205 - inkstring
Text color; overrides the theme ink.
- backgroundstring
Stage fill under the sheet; 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.
Default
true - scalenumber
Size of the headline around the frame's center; the sheet stays full-bleed.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback multiplier.
Default
1 - theme"dark" | "light"
Colour scheme; ships light and dark.
Default
"dark"