MouseUIMouseUI
About
Components
Built with
Built on 21st
Community

Dependencies

Tags

Paper Plane

Paper Plane

1 of 1 — Paper Plane: a contact form that folds itself into a paper plane and flies away. Write the letter, hit Fold & send, and the sheet — with your words on it — folds in real 3D: corners to the centre, again, in half, wings out. Every crease is a true mesh fold, so flaps show the blank back and layers stack like paper. It banks with a soft shadow, winds up, launches off the screen with a dotted trail, and a thank-you card appears where the letter was. WebGL2, no dependencies.

Default preview
"use client";

import * as React from "react";
import { PaperPlane } from "@/components/ui/paper-plane";

export default function Demo() {
  return (
    <div className="flex min-h-screen w-full flex-col items-center justify-center overflow-clip bg-[#efece4] px-4 py-12 dark:bg-[#121214]">
      <div className="w-full max-w-md">
        <PaperPlane to="Mouse" onSubmit={(d) => console.log("letter", d)} />
      </div>
      <p className="mt-3 text-center text-[11px] text-neutral-500">1 of 1 · write a letter, hit Fold &amp; send</p>
    </div>
  );
}

License

MIT License

Published

11/27/2026