# Application Calendar and Scheduling: Room Booking Timeline

Room picker where each meeting room is a day track with existing bookings drawn as blocks and the requested slot outlined across every row.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/room-booking-timeline
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Calendar and Scheduling](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/room-booking-timeline.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-calendar-scheduling-room-booking-timeline
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button
- Installs to: `@/components/blocks/application-pro/calendar-scheduling/room-booking-timeline`

## About this block

Room Booking Timeline is the room picker for a requested
slot: Thursday, June 18 from 1:00 pm to 2:00 pm for 4
people. Each of the four rooms is a horizontal day track
from 9a to 5p with its existing bookings drawn as filled
blocks and the requested window outlined in a dashed
border across every row, so a free room reads at a glance.
Huddle 2 carries a Best fit badge on a highlighted row,
two rooms show a Book button, and Boardroom A clashes with
the slot and reads as Busy.

Rooms are one const array with seats, location, and a busy
array of start and end hours; two small helpers turn those
hours into left and width percentages against the nine
hour day. A legend up top labels the booked blocks and the
requested slot, and a footer notes rooms release
automatically when a meeting is cancelled early.

## When to use

Reach for this block when a person has a time locked and
needs to attach a room without opening each calendar in
turn. Wire the room list to your resource directory and
each busy array to that room bookings for the day.

A natural flow around it on an Application Pro page:

**Before**

- [Availability grid](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling)
- [Event detail panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling)

**After**

- [Booking confirmation card](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling)
- [Maps location](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location)

## What you can display

One strong use is the meeting room picker in a scheduling
tool. Other timeline uses:

- **Desk booking.** Swap rooms for hot desks with a floor
  and zone in the meta line.
- **Equipment reservation.** Cameras or vehicles as rows
  with their current checkout blocks on the track.
- **Studio slots.** Recording rooms with a capacity and a
  gear note in place of the seat count.

> Tip: sort the best fit room to the top and badge it; a
> picker that decides for the common case still leaves the
> full grid open for the exceptions.

## More in Application Calendar and Scheduling

- [Availability Grid](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/availability-grid)
- [Booking Confirmation Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/booking-confirmation-card)
- [Calendar Sync Status](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/calendar-sync-status)
- [Event Detail Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/event-detail-panel)
- [Event List Day](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/event-list-day)
- [Invite RSVP Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/invite-rsvp-card)
- [Meeting Poll Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/meeting-poll-panel)
- [Mini Calendar Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/mini-calendar-card)
- [Month Calendar](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/month-calendar)
- [Recurring Event Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/recurring-event-form)
- [Reschedule Request Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/reschedule-request-panel)
- [Scheduling Link Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/scheduling-link-card)
- [Team Availability Heatmap](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/team-availability-heatmap)
- [Timezone Compare Row](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/timezone-compare-row)
- [Week Agenda](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/week-agenda)
- [Working Hours Editor](https://www.shadcn-ui-blocks.com/blocks/application-pro/calendar-scheduling/working-hours-editor)
