World Clock Globe

A dotted planet you can spin, lit by the real sun — the night side dims along a live terminator, a 24-hour ring tracks the chosen city and every card ticks its own local time. Canvas 2D, no map tiles.

Try it: Drag the globe, or pick a city — it rotates to face it.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/world-clock-globe.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/world-clock-globe. You can also copy the source into components/ui/world-clock-globe.tsx (view on GitHub).

Usage

import { WorldClockGlobe } from '@/components/ui/world-clock-globe'

Props

Component props
PropTypeDefaultNotes
cities{ id, name, tz, lat, lon, note? }[]6 citiesPins; tz is an IANA zone used for the live clock.
value / defaultValuestringfirst cityControlled / uncontrolled selected city id.
onValueChange(id: string) => void—Fires when a city is chosen.
theme'auto' | 'light' | 'dark''auto'auto follows the nearest .dark / .light ancestor.
classNamestring—Extra classes merged onto the root.
  • Signal Beam Diagram

    An integration map where light travels: sources fire gradient pulses along hairline S-curves into a glass hub, which relays them to destinations. Select a node to isolate its route and read what…

  • Now Playing Widget

    A vinyl slides out of a generated sleeve and spins as a tonearm settles on it, an EQ breathes beside the title and progress ticks live with a scrubbable seek bar. Visual only — wire it to your own…

  • Swing Price Tag

    A luxury swing tag hanging from a brass rail on a waxed cord. Brush past it and it swings like a real, lightly damped pendulum that settles and sleeps; tap it and it twirls over to the back for…

  • Ring Progress Cluster

    Cluster of animated progress rings for queue depth, SLA, and capacity.

  • Paper Fold Accordion

    FAQ rows that open like a folded letter: two creased paper leaves swing open in CSS 3D (the top from its hinge, the bottom a beat later from the crease), shadows lift off the paper as it flattens…

  • Status Heatmap Grid

    Compact hour×day heatmap for message volume with hover tooltip.

See all 15 Widgets components