App UI kits › Layover › Airport

Airport

Search airports by code, name or city, with recent ones and the time into the city for each, and a designed no-results state.

Airport is a screen from Layover, an app ui kit with 11 screens: A layover planner that shows the whole stopover on one line and keeps your way back to the gate in view. Price: $5 for the whole pack.

Built with: search, recent, no results.

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.

Airport props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosLOPhotos
assetsstring
h12boolean
milesboolean
querystringStart with this text in the search field.
onPick(code: string) => void
onBack() => void
onTab(i: number) => void

Methods on the ref

Use it in React

import LayoverAirport from './LayoverAirport';

<LayoverAirport />

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

More in Layover

Good for: Layover planner app.