Calendar
Two Zone Slots
Picking a call slot in two time zones at once: every row shows your time and theirs, and hours outside the partner's working day are flagged.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- date — the day the slots are shown for
- homeZone and awayZone — IANA time-zone identifiers
- homeLabel and awayLabel — city captions; without them the name comes from the zone
A link for your AI agent: preview, code and instructions.
Preview

Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/calendar-023?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
How to use
<Calendar023 homeZone="Europe/Moscow" awayZone="America/New_York" />A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Partner zone
awayZone· default: America/New_York- Date
date· default: 2026-04-15- Locale
locale· default: ru-RU- Accent
accent· default: theme colour- Surface
background· default: theme colour
More in Calendar
FAQ
- How do I add Two Zone Slots with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Two Zone Slots depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Two Zone Slots?
- Adapt: date — the day the slots are shown for; homeZone and awayZone — IANA time-zone identifiers; homeLabel and awayLabel — city captions; without them the name comes from the zone. Keep as installed: the local --vibeui-calendar-023-* palette — do not swap it for your theme tokens (bg-popover, text-muted-foreground and the like); the zoneOffset and instantOf helpers: the offset is read from Intl instead of being subtracted by hand, or a DST switch is off by an hour; the second pass inside instantOf — on a daylight-saving day one pass is not enough and the slot slides.
- Is Two Zone Slots free?
- The preview is open to everyone; the source is available with a PRO subscription.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/calendar-023.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
The component is self-contained: one file, zero dependencies, its own palette in local variables --vibeui-calendar-023-*. Client-side: the selected hour lives in useState. The zone difference is not hard-coded: zoneOffset reads the zone's offset through Intl.DateTimeFormat with timeZone and formatToParts, and instantOf finds in two passes the UTC instant that corresponds to the given local time in the home zone (the second pass is needed on a daylight-saving day). The same instant is then formatted by two Intl formatters, so the string "17:00 → 10:00" is always consistent. The offhours flag is computed from the hour in the other zone and hung on data-offhours, and the "out of hours" label is drawn by a CSS pseudo-element. The city names are derived from the zone name by default, so changing awayZone changes the column caption as well.
Tags
- calendar
- timezone
- meeting
- scheduling
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…