For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: Shifts that show open slots against required headcount, with an Open toggle, staff search, publish locks and a double booking check
When to use
- A full page scheduling workspace where people drag, resize and create events on a week time grid
- A personal calendar of meetings, focus time and travel, filtered by color-coded calendars
- An operations board for one trade: a hotel front desk, a shift roster, clinic chairs or a lending desk
When not to use
- One column per person for a single day, with bookings dropped into their hours: use the Clinic Chair Board block
- A host sharing free time slots so someone else can book one meeting: use the Booking Page block
- Only the scheduling grid and its props, to compose inside a layout you already have: use the Event Calendar component
- A compact card that books one meeting from a date picker and a list of time slots: use the Schedule blocks
- A single date or range picker with no events, hours or drag: use the Calendar component
Agent notes
- Replace
STAFF,DEPARTMENTSand theROSTERandON_CALLrows in data.ts with your own people, teams and shifts - Publish and Unpublish run
togglePublished, which only flips the shift'sreadOnlyflag and fires atoast findDoubleBookingchecks only the shifts in local state and skips all-day standby rows; enforce the same rule on your server- Replace
buildEventsand the fixedANCHORdate in data.ts with your own events and opening date; every block seedseventsfrom them - Every create, edit, move and delete only updates local state; persist moves in
handleEventsChangeand saves insaveDraft - Each block sets its own
h-svhwrapper andp-4padding, and the grid scrolls inside it, so give it a bounded height in an app shell
Third-party API docs
- date-fns v4: docs
- Sonner v2: API reference, docs
- React DayPicker v9: API reference, docs, through shadcn Calendar
https://web.dev.reui.io/blocks/application/event-calendar/event-calendar-4.mdget_block("event-calendar-4")npx shadcn@latest add @reui/event-calendar-4Shadcn Components in the Shift Roster Block
Dependencies
- cn
- date-fns
- sonner
Shadcn Shift Roster Block
Workforce shift roster with coverage avatars, open-slot warnings, and a double-booking guard. Part of the ReUI Shadcn Application Event Calendar blocks collection.
Workforce shift scheduling board for HR and operations teams: a day, week, and month event calendar of staffing shifts grouped into color-coded departments, with per-shift coverage showing assigned staff avatars, required headcount, and open-slot warnings, plus search across shifts and staff, an open-slots filter, drag and resize with a double-booking guard, publish and unpublish locking, and full CRUD on shifts, assignments, and departments.
It is composed from Alert, Alert Dialog, Avatar, Badge, Button, Calendar, Card, Checkbox, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Shift Roster Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn Application Event Calendar blocks to assemble a full screen instead of a single section.
All Shadcn Application Event Calendar Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Personal Calendar Event calendar with month, week, day, N-day, and agenda views plus drag-and-drop editing
- Mini Month Calendar Calendar workspace with mini month picker, calendars visibility list, and up-next agenda sidebar
- Hotel Front Desk Hotel front-desk booking board with arrivals agenda and color-coded service streams
- Clinic Chair Board Clinic chair board with per-practitioner columns, status-tinted chips, and drop-rejecting clinic holds
- Lending Deal Calendar Commercial lending calendar with multi-row deal chips and covenant detail cards on hover
Related Shadcn Application Block Categories
- App Shell (35) App shell layouts with sidebar, rail, or top bar navigation for dashboards, settings panels, and multi-page apps.
- Auth (20) Login, register, forgot password, and two-factor authentication page layouts.
- Card (43) Card components for content display, data summaries, and interactive elements.
- Dashboard (8) Dashboard components and layouts that combine stats, charts, and tables into a complete overview screen.
- Dialog (14) Dialog components for modal windows, alerts, confirmations, and content overlays.
- Empty State (14) Empty state screens and no-data placeholders with recovery actions, onboarding prompts, and contextual guidance.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Shift Roster block?
Use it for shifts that show open slots against required headcount, with an Open toggle, staff search, publish locks and a double booking check.
The Event Calendar category fits:
- A full page scheduling workspace where people drag, resize and create events on a week time grid
- A personal calendar of meetings, focus time and travel, filtered by color-coded calendars
- An operations board for one trade: a hotel front desk, a shift roster, clinic chairs or a lending desk
For one column per person for a single day, with bookings dropped into their hours, use the Clinic Chair Board block. For a host sharing free time slots so someone else can book one meeting, use the Booking Page block. For only the scheduling grid and its props, to compose inside a layout you already have, use the Event Calendar component. For a compact card that books one meeting from a date picker and a list of time slots, use the Schedule blocks. For a single date or range picker with no events, hours or drag, use the Calendar component.
What is the Shift Roster block built with?
Can I restyle the Shift Roster block?
How should I use Shadcn event calendar blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.