ham7a311

Route Globe

Component 13

About

An animated dotted-globe canvas showing flight routes arcing from a hub city to several destinations, with comet animations along each great circle and drag-to-spin rotation.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Route Globe to your project and fits it to your theme.

Code

How Route Globe is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { RouteGlobe, type GlobeTheme } from "@/components/ui/route-globe";

const NIGHT: GlobeTheme = {
  ground: "#06080d",
  land: "#9fb4d6",
  arc: "#ffb547",
  glow: "rgb(90 140 255 / 0.18)",
  text: "#eef2fb",
  muted: "#7c8aa5",
};

export default function Demo() {
  return (
    <div
      className="relative h-screen min-h-full w-full"
      style={{ background: NIGHT.ground, color: NIGHT.text }}
    >
      <RouteGlobe theme={NIGHT} className="!absolute inset-0" />
      <div className="pointer-events-none absolute left-6 top-6">
        <p
          className="font-mono text-[11px] uppercase tracking-[0.16em]"
          style={{ color: NIGHT.muted }}
        >
          From Muscat · 10 routes
        </p>
        <p className="mt-2 text-[1.5rem] font-semibold tracking-[-0.02em]">
          Where we fly this winter
        </p>
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    8
  • Uptime Ribbon

    Uptime Ribbon

    6
  • Glass Carousel

    Glass Carousel

    6
  • Glass Tiles

    Glass Tiles

    6
  • Streak Field Stats

    Streak Field Stats

    5
  • Wind Map

    Wind Map

    5
  • Time Window

    Time Window

    4
  • Ruler Picker

    Ruler Picker

    4