# Travel Operator Home block

> Event Travel Operator Home with Order KPIs, Recent Orders and Upcoming Events

Event travel operator home: order, revenue, fulfillment and at risk KPIs, a recent orders grid with fulfillment and stepped new order sheets, event filters and tasks. ReUI Frame, Data Grid, Stepper. Travel dashboard, tour operator admin.

- Type: Pro block
- Category: [Travel](https://reui.io/blocks/solutions/travel.md)
- Page: https://reui.io/blocks/solutions/travel/solution-travel-1
- MCP: `get_block("solution-travel-1")`
- Built with: Alert, Alert Dialog, Avatar, Badge, Button, Checkbox, Data Grid, Dropdown Menu, Empty, Field, Frame, Icon Stack, Input, Input Group, Number Field, Progress, Radio Group, Select, Sheet, Skeleton, Stepper, Tabs
- Installs with a ReUI Pro or Ultimate license; setup: https://reui.io/docs/license-setup

## Best for

A daily operator home: order KPIs, a recent orders grid with fulfillment and new order sheets, event filters and a task list

## Agent notes

- Replace the Larkspur world in data.ts: `ORDERS` (built by `makeOrder` from `PRICE_BOOK`), `EVENTS`, `TASKS`, `PRIOR_PERIOD`; `REFERENCE_DATE` freezes today
- `OperatorHome` keeps orders and tasks in local state; wire `onOrderChange` (new orders included) and `onTaskChange` from `OperatorHomeProps` to persist them
- Export builds the CSV in the browser from the filtered orders through `ordersToCsv`; swap it for a server export if the list is paged remotely

## Third-party libraries

- TanStack Table v9: [API reference](https://tanstack.com/table/v9/docs/framework/react/reference/index), [docs](https://tanstack.com/table/v9/docs/framework/react/quick-start)
- Sonner v2: [API reference](https://sonner.emilkowal.ski/toast), [docs](https://sonner.emilkowal.ski/getting-started)

## Install

```bash
npx shadcn@latest add @reui/solution-travel-1
```

## About Travel blocks

### When to use

- A travel operator's home page: order KPIs, recent package orders, upcoming events and the team's tasks
- One booked package's itinerary day by day: reorderable stops, timing checks and margin by stop and day

### When not to use

- Appointments booked by time slot and staff member, or hotel stays on a room board: use the [Bookings blocks](https://reui.io/blocks/solutions/bookings.md)
- Stock, warehouse and shipping fulfillment for physical goods: use the [Inventory blocks](https://reui.io/blocks/solutions/inventory.md)

### Agent notes

- Each block keeps the Larkspur demo world in its own data.ts with `REFERENCE_DATE` as the frozen today; swap the records, keep the rules

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.
