Torn Edge
A gradient paper sheet with a ragged torn edge rips in two and pulls away to uncover a bold headline on the stage underneath. A free, MIT-licensed Remotion text animation.
In Remotion, Torn Edge rips a torn paper sheet away to reveal a bold headline printed on a gradient background. Use it for an intro or reveal that should feel physical and tactile instead of a clean wipe.
$ pnpm dlx shadcn@latest add @remocn/torn-edgeHow to rip a torn paper sheet off a headline
A paper sheet with a ragged torn edge that is ripped off to uncover a bold headline is one component. You don't need @remotion/noise, @remotion/paths or your own feTurbulence filter:
npx shadcn@latest add @remocn/torn-edge- A tear runs across the sheet over
tearframes, then the two halves pull apart (spread) and the headline sits on the stage underneath. - The ragged edge is a polygon built from value noise, roughened with SVG
feTurbulenceandfeDisplacementMap, with paper fibre along the rip. - Colors: the sheet is a gradient from
#1D2A8Fthroughaccent(#3B5BFDby default) and#FF7A3Dto#FFE2C4. The stage under it is a solid#0E0E10(dark, the default) or#F2F0EA(theme="light");backgroundreplaces it. - Font: Bricolage Grotesque through
@remotion/google-fonts, or your own withfontFamily.
For a clean wipe without paper, use Slash Wipe.
Good to know
- Length: 76 frames of motion at 30 fps (152 at 60 fps) with the default props. That is the minimum for its
Sequence; add your own hold on top. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion (durationInFrames,Sequencelengths) are doubled. The component's own props counted in frames stay in 30 fps frames at any frame rate, see Frame rate. - Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: loads Bricolage Grotesque itself through
@remotion/google-fonts. PassfontFamilyto use your own face, and load that font in your project.
Usage
// 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"