One 24-hour strip per office with working hours hatched, local times rolling, a shared-overlap band and a draggable scrubber that glides to the overlap.
pnpm dlx shadcn@latest add @beautiful-ui-pro/world-rulerNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
import { WorldRuler } from "@/components/ui/notchset/world-ruler";
<WorldRuler offices={[{ name: "LONDON", short: "LON", offset: 1 }]} now={930} />offices–
{ name, short, offset }[]Offset in hours from UTC (5.5 allowed).
now–
numberUTC minutes.
workStart / workEnd–
numberLocal working hours in minutes (default 09–18).
components/ui/notchset/world-ruler.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.