# Appointment Detail block

> Appointment Detail Sheet with Deposit Payment and Booking Timeline

Inset right sheet over an appointment list showing client, service, staff, deposit-progress payment, internal note, and a booking activity timeline. Uses ReUI Badge, Timeline; shadcn Avatar, Button, Item, Progress, ScrollArea, Sheet, Textarea.

- Type: Pro block
- Category: [Bookings](https://reui.io/blocks/solutions/bookings.md)
- Page: https://reui.io/blocks/solutions/bookings/solution-bookings-3
- MCP: `get_block("solution-bookings-3")`
- Built with: Avatar, Badge, Button, Item, Progress, Scroll Area, Separator, Sheet, Textarea, Timeline
- Installs with a ReUI Pro or Ultimate license; setup: https://reui.io/docs/license-setup

## Best for

One booking in an inset right sheet over a 14 row list, with deposit progress, a staff note and no-show or check-in buttons

## Agent notes

- Replace the Lumen Studio sample data in data.tsx: `APPOINTMENT` (the open booking), `APPOINTMENT_LIST` and `APPOINTMENT_ACTIVITY`
- `handleSaveNote`, `handleNoShow` and `handleCheckIn` only set local state and call `toast`; nothing is saved
- The sheet always renders the one `APPOINTMENT` and `ListRow` has no click handler, so choosing another list row loads no other booking

## When not to use

- A right sheet that only lists a team activity feed, with no single record behind it: use [Team Activity Sheet](https://reui.io/blocks/application/timeline/timeline-8.md) (`get_block("timeline-8")`)
- A sales deal opened in a sheet, with an inline stage select and a win probability: use [Deal Sheet](https://reui.io/blocks/solutions/crm/solution-crm-4.md) (`get_block("solution-crm-4")`)

## Third-party libraries

- Sonner v2: [API reference](https://sonner.emilkowal.ski/toast), [docs](https://sonner.emilkowal.ski/getting-started)

## Install

```bash
npx shadcn@latest add @reui/solution-bookings-3
```

## About Bookings blocks

### When to use

- An appointment front desk: booking KPIs, chair capacity and the day's queue, or one appointment's detail
- An appointment calendar by day or week, filtered by staff and service, with a double booking alert
- A hotel front desk: occupancy and ADR tiles, a room board to reserve, move and resize stays, and arrivals

### When not to use

- An activity feed or change history on its own, with no appointments or clients: use the [Timeline blocks](https://reui.io/blocks/application/timeline.md)
- A team overview of KPI tiles and a work queue for a business that takes no bookings: use the [Dashboard blocks](https://reui.io/blocks/application/dashboard.md)
- A client facing card where someone picks a day and a time slot to book one session: use the [Schedule blocks](https://reui.io/blocks/application/schedule.md)

### Agent notes

- Appointment blocks declare an `AppointmentStatus` union and the room board a `StayStatus` one; they differ in values and casing, so map them before combining
- Nothing reaches a server: each write lands in local state or a sonner `toast`; wire the room board's `onStayChange` and `onBlockChange` to your API
- The root or page.tsx caps the width at `max-w-7xl`, `max-w-6xl` or `max-w-md`, and page.tsx or the root adds padding; drop both inside an app shell

Every ReUI item has a twin like this one; the index is https://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
