Paper Plane
A paper plane flies a dotted path past three stops and lands as the full stop of the wordmark. A free, MIT-licensed Remotion logo animation.
To animate a paper plane that flies along a dotted path through three stops and ends up as the full stop at the end of the wordmark, use Paper Plane. It is a Remotion logo sting: the plane glides past three labelled stops, loops once, skims over the word and folds into the dot after it, then your URL rises underneath.
$ pnpm dlx shadcn@latest add @remocn/paper-planeHow to build this in Remotion
You don't need getPointAtLength(), getTangentAtLength() or evolvePath() from @remotion/paths to fly the plane. Install the component and pass three step labels:
npx shadcn@latest add @remocn/paper-planeThe flight path, its dashed trail and the plane's heading are computed inside the component from the frame.
Good to know
- Length: 212 frames of motion at 30 fps; the plane touches down at frame 184 (
land) and the URL finishes rising at 212. The Usage example is a 60 fps composition, so it hands Remotion twice that plus a short hold: 440 frames (220 at 30 fps). Props counted in frames, likeland, stay in 30 fps frames at any frame rate, see Frame rate. - Installs:
remotionand@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rateandtimeline. Fraunces and Manrope are loaded by the component. - Custom
logo: any React node, an SVG or text. It is set on the lockup baseline in a box about four times the lockup height wide (512 px at 720p), and the full stop is placed at a fixed spot right of that box, not measured from your logo. A logo close to that width sits snug against the dot; check a shorter one in the preview. - Phase timing: besides
speedandland, thetimingprop moves or stretches each phase by the idsintro,flight,landingandurl, in 30 fps frames.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { PaperPlane } from "@/components/remocn/paper-plane";
const PaperPlaneScene = () => (
<PaperPlane
steps={["Write", "Render", "Launch"]}
url="remocn.dev"
accent="#3B5BFD"
/>
);
export const RemotionRoot = () => (
<Composition
id="PaperPlane"
component={PaperPlaneScene}
durationInFrames={440}
fps={60}
width={1280}
height={720}
/>
);A paper plane loops along a dotted flight path past three labelled stops, heads for the wordmark and lands as its full stop, then url appears beneath. Pass steps (three labels), url and logo. The theme prop defaults to light paper and also ships dark.
Timing
In 30 fps frames, at speed={1} and the default land={184}:
| Frames | Motion |
|---|---|
| 0–14 | The first stop fades in |
| 0–184 | The plane flies the dotted path past the three stops, easing off over the last 36 frames |
| 124–190 | The camera settles onto the lockup |
| 170–188 | The plane folds into the full stop |
| 184–200 | The dot pops and the lockup settles |
| 192–212 | The URL rises under the lockup |
Props15
| Prop | Type | Default |
|---|---|---|
| steps | [string, string, string]["Write", "Render", "Launch"] The three stops the plane passes; the last labels the landing. | |
| logo | React.ReactNode— Replaces the remocn.dev logo; the plane lands as a full stop after it. | |
| url | string"remocn.dev" Shown under the lockup after the plane lands. | |
| accent | string"#3B5BFD" Accent colour for the mark and highlights; any CSS colour. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Fraunces" Typeface for the step words. Load the font in your project first. | |
| land | number184 Frame the plane touches down; the flight stretches or tightens to fit. | |
| trail | booleantrue Draws the dashed trail behind the plane. | |
| 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. | |
| grain | booleantrue Film grain over the scene. | |
| speed | number1 Playback multiplier for the whole timeline; 1 is normal speed. | |
| theme | "light" | "dark""light" Light paper (default) or dark. | |
| timing | Timing<"intro" | "flight" | "landing" | "url">— Per-phase overrides: { start, length, stretch } by element id, in 30 fps frames. | |
- steps[string, string, string]
The three stops the plane passes; the last labels the landing.
Default
["Write", "Render", "Launch"] - logoReact.ReactNode
Replaces the remocn.dev logo; the plane lands as a full stop after it.
- urlstring
Shown under the lockup after the plane lands.
Default
"remocn.dev" - accentstring
Accent colour for the mark and highlights; any CSS colour.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- fontFamilystring
Typeface for the step words. Load the font in your project first.
Default
"Fraunces" - landnumber
Frame the plane touches down; the flight stretches or tightens to fit.
Default
184 - trailboolean
Draws the dashed trail behind the plane.
Default
true - 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 - grainboolean
Film grain over the scene.
Default
true - speednumber
Playback multiplier for the whole timeline; 1 is normal speed.
Default
1 - theme"light" | "dark"
Light paper (default) or dark.
Default
"light" - timingTiming<"intro" | "flight" | "landing" | "url">
Per-phase overrides: { start, length, stretch } by element id, in 30 fps frames.