About
An interactive 3D dotted globe that animates connections between locations as rising dotted arcs with a packet and landing sparks, draggable and keyboard navigable.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Connection Globe to your project and fits it to your theme.
Code
How Connection Globe is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { GeoGlobe, type GlobeLocation } from "@/components/ui/geo-globe";
const regions: GlobeLocation[] = [
{ id: "us-east", label: "us-east", lat: 39.04, lon: -77.49 },
{ id: "eu-central", label: "eu-central", lat: 50.11, lon: 8.68 },
{ id: "ap-southeast", label: "ap-southeast", lat: 1.35, lon: 103.82 },
];
export default function GeoGlobeCustomLocationsDemo() {
return (
<div className="h-screen w-full bg-background text-foreground">
<GeoGlobe
className="h-full w-full max-w-none"
locations={regions}
defaultValue="eu-central"
/>
</div>
);
}








