Component packs › Meridian › Stop Planner

Stop Planner

Drag the range per hop and the planner chains the fewest refuelling stops, drawing every leg with its length.

Stop Planner is a planner 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: fewest-stops search, leg list, range slider.

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.

Stop Planner props

PropTypeDefaultDescription
darkboolean
autoplayboolean
fromstring
tostring
kmnumber
onPlan(p: { stops: string[]; km: number; hours: number }) => void

Methods on the ref

Use it in React

import StopPlanner from './StopPlanner';

<StopPlanner />

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

More in Meridian

Good for: Map components.