Component packs › Meridian › Airport Field
Search airports by city, code or field with the match highlighted, swap with a turn, and see the route drawn below.
Airport Field is an input 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: combobox, match highlight, drawn route.
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 | ||
onChange | (v: { from: string; to: string; km: number }) => void |
destroy(): voidimport AirportField from './AirportField';
<AirportField />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Map components.