Skip to main content

RoomService

Collects room number and guest name for hotel room service fulfillment. Validates the room number against the property’s room directory.

Preview

View in Storybook

Import

import { RoomService } from '@/components/RoomService'

Usage

<RoomService
  locationId={locationId}
  onRoomConfirmed={handleRoomConfirmed}
/>

Props

locationId
string
required
The location (property) ID to validate room numbers against.
onRoomConfirmed
(details: RoomServiceDetails) => void
required
Callback fired when room details are confirmed.

Behavior

  • Room number input with validation
  • Guest name field (required for room charge authorization)
  • Optional delivery instructions
  • Auto-populated when accessed via in-room QR code