Component packs › Meridian › World Clocks

World Clocks

Live time and a day arc for each city; make any city home and every difference recounts, day changes included.

World Clocks is a widget 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: live time zones, sun arc, home 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.

World Clocks props

PropTypeDefaultDescription
darkboolean
autoplayboolean
cities[string, string][]IANA time zones with a label.
homenumber
onHome(city: string) => void

Methods on the ref

Use it in React

import WorldClocks from './WorldClocks';

<WorldClocks />

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

More in Meridian

Good for: Map components.