Calendar
Shift Roster
A shift roster as a staff-by-day table: a shift code in every cell, a colour per shift type and a weekly total on the right, so a coverage gap shows up as an empty column.
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
- heading — the caption above the roster
- weekStart — the first day of the week as a YYYY-MM-DD string
- people — the staff list with a role and seven consecutive shifts
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-025?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
<Calendar025 weekStart="2026-04-13" density="compact" background="#ffffff" />A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Density
density· default: compact- Night shift colour
accent· default: theme colour- Surface
background· default: theme colour- Week start
weekStart· default: 2026-04-13
More in Calendar
FAQ
- How do I add Shift Roster 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 Shift Roster depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Shift Roster?
- Adapt: heading — the caption above the roster; weekStart — the first day of the week as a YYYY-MM-DD string; people — the staff list with a role and seven consecutive shifts. Keep as installed: the local --vibeui-calendar-025-* palette — do not swap it for your theme tokens (bg-muted, text-foreground and the like); the real <table> with scope="col" and scope="row": a grid of divs loses the link between a cell, a person and a day; the hidden [data-part="sr"] text next to the shift code — otherwise the shift type exists only as a colour and one letter.
- Is Shift Roster 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-025.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-025-*. Server-side: there is no state, everything is computed from the people prop at render. The markup is a real <table> with <th scope="col"> on the days and <th scope="row"> on the staff, so a screen reader reads a cell as "Irina Sokolova, Tuesday". A cell holds a short code under aria-hidden and the full shift name in a visually hidden [data-part="sr"], so colour is not the only carrier of meaning. The shift type is expressed by the data-shift attribute, and every type has a palette of its own. The row density is switched by the variable --vibeui-calendar-025-cell through data-density, and the horizontal scroll lives in a separate [data-part="scroll"] wrapper, so the table does not stretch the card. The theme comes from the surrounding color-scheme through light-dark(): the component has no surface of its own by default, it sits directly on the page background and darkens along with it, while the background prop brings the panel back. All the captions — the staff column heading, the shift names and codes — arrive in props, the Russian values sit in the defaults.
Tags
- calendar
- shifts
- roster
- team
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…