StealThis .dev
Pages Hard

Coworking — Desk Booking

A warm industrial desk-booking interface for a coworking studio. An interactive floor plan colors each desk by live status (free, reserved, occupied), while a date row and time-slot picker drive availability. Selecting a desk opens a detail card with its type, amenities and price in dollars or credits, and a running summary totals the cost before you confirm. Confirming marks the desk occupied to mimic real-time updates, with a toast acknowledgement.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Desk Booking

A self-contained desk-booking flow for a fictional coworking studio, Foundry & Field. The left panel renders a warm-concrete floor plan: fourteen desks laid out on a grid, each tinted by its live status — green for free, amber for reserved, red for occupied — with plant accents, window seating and phone-booth markers for context. Occupied desks are non-interactive and announce themselves to assistive tech; free and reserved desks lift on hover and snap to a matte black selected state.

The right rail handles the booking itself. A four-day date row and a four-option time-slot picker (morning, afternoon, evening or full day) act as keyboard-usable radio groups. Picking a desk opens a detail card listing its type, amenities and price in both dollars and credits. As soon as a slot is chosen, the summary panel totals duration and cost, and the confirm button enables.

Confirming fires a toast, flips the booked desk to occupied right on the plan to simulate live availability, and resets the selection — all in vanilla JavaScript with no frameworks or build step. The amber-on-concrete palette, Inter type and soft shadows give it a community-studio feel, and the layout reflows to a single column down to roughly 360px wide.

Illustrative UI only — fictional coworking space, not a real booking system.