Component packs › Meridian › Range Ring
Drag the range and a ring of equal distance grows around the base on the sphere, counting and naming the cities inside.
Range Ring 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: small-circle ring, live count, base switch.
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 | ||
base | string | ||
km | number | ||
onChange | (s: { base: string; km: number; inside: string[] }) => void |
set(base: string, km: number): voiddestroy(): voidimport RangeRing from './RangeRing';
<RangeRing />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Map components.