Component packs › Meridian › Globe Route
Pick two airports: the great-circle route draws itself on a dotted globe that turns to face it, with a refuelling stop when it is past the jet’s reach.
Globe Route is a map from Meridian, a component pack with 7 map components: Seven travel and map components with real great-circle routes on a dotted globe. Price: $2 for the whole pack.
Built with: dotted globe, great-circle arc, spring rotation.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
from | string | ||
to | string | ||
onRoute | (r: { from: string; to: string; km: number; hours: number; stop: string | null }) => void |
route(from: string, to: string): voiddestroy(): voidimport GlobeRoute from './GlobeRoute';
<GlobeRoute />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Map components.