Component packs › Meridian › Range Ring

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.

Range Ring props

PropTypeDefaultDescription
darkboolean
autoplayboolean
basestring
kmnumber
onChange(s: { base: string; km: number; inside: string[] }) => void

Methods on the ref

Use it in React

import RangeRing from './RangeRing';

<RangeRing />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Meridian

Good for: Map components.