Airport Matrix Clock

A live world clock that renders local times and city names as crisp dot-matrix characters with restrained, character-level rolling transitions.

WORLD CLOCK

ADD A CITY3 / 5 CITIES

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/airport-matrix-clock

API Reference

PropTypeDefaultDescription
citiesAirportMatrixCityId[]['los-angeles', 'london', 'tokyo']Initial or controlled city IDs; supports one to five cities.
format'12h' | '24h''24h'Local time display format.
showSecondsbooleanfalseInclude seconds in each displayed time.
updateIntervalnumber1000Shared clock refresh interval in milliseconds.
showCountrybooleanfalseShow the country name under each city.
showControlsbooleantrue when cities is omittedShow country and city selectors plus add and remove controls.
onCitiesChange(cities: AirportMatrixCityId[]) => voidundefinedReceive city selection changes when using a controlled cities prop.
classNamestring''Additional classes for the board container.