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.

Installation
$ pnpm dlx shadcn@latest add @remocn/paper-plane

How 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:

bash
npx shadcn@latest add @remocn/paper-plane

The 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, like land, stay in 30 fps frames at any frame rate, see Frame rate.
  • Installs: remotion and @remotion/google-fonts from npm, plus the remocn helpers glide, frame-rate and timeline. 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 speed and land, the timing prop moves or stretches each phase by the ids intro, flight, landing and url, in 30 fps frames.

Usage

tsx
// 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}:

FramesMotion
0–14The first stop fades in
0–184The plane flies the dotted path past the three stops, easing off over the last 36 frames
124–190The camera settles onto the lockup
170–188The plane folds into the full stop
184–200The dot pops and the lockup settles
192–212The URL rises under the lockup

Props15

PropTypeDefault
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.

    Default184

  • trailboolean

    Draws the dashed trail behind the plane.

    Defaulttrue

  • 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

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • speednumber

    Playback multiplier for the whole timeline; 1 is normal speed.

    Default1

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