# Reservation Card

> A booking or order: a stay, flight, train, ride, delivery or ticket with its dates, place, booking number and status (confirmed, pending, delayed, on the way, delivered, cancelled) plus a note like "+25 min".

Component · Connectors · Halo kit · [Live page](https://ui.twentyfirst.media/halo/components/ReservationCard/)

A booking or order: a stay, flight, train, ride, delivery or ticket with its dates, place, booking
number and status (confirmed, pending, delayed, on the way, delivered, cancelled) plus a note like
"+25 min". `actions` takes your buttons.

## Example

```tsx
import * as React from "react";
import { Button, ReservationCard } from "@twentyfirstmedia/halo";
import "./_connectors";

export default function Preview() {
  return (
    <div
      className="tf-grid"
      style={
        {
          "--cols": "repeat(2, minmax(0, 1fr))",
          "--cols-sm": "1fr",
          gap: 16,
        } as React.CSSProperties
      }
    >
      <ReservationCard
        kind="flight"
        title="Hamburg → Dubai"
        subtitle="EK 60 · Seat 32A"
        start={new Date(2026, 10, 20, 14, 35)}
        end={new Date(2026, 10, 20, 23, 50)}
        place="HAM Terminal 1 → DXB Terminal 3"
        code="K7XQ2M"
        status="delayed"
        statusText="+25 min"
        actions={
          <Button size="sm" variant="secondary" icon="calendar">
            Add to calendar
          </Button>
        }
      />
      <ReservationCard
        kind="stay"
        title="Rove Downtown"
        subtitle="Double room · 4 nights"
        start={new Date(2026, 10, 20)}
        end={new Date(2026, 10, 24)}
        place="Al Mustaqbal St, Dubai"
        code="4419 2207 81"
        status="confirmed"
        service={{ name: "Booking.com", icon: "brandBooking" }}
      />
      <ReservationCard
        kind="order"
        title="Wolt · Tokyo Ramen"
        subtitle="2 items · €31.40"
        start={new Date(2026, 10, 14, 19, 10)}
        status="onTheWay"
        statusText="Arrives 19:40"
        service={{ name: "Wolt", icon: "brandWolt" }}
      />
      <ReservationCard
        kind="train"
        title="Hamburg → Berlin"
        subtitle="ICE 1005 · Car 7, seat 64"
        start={new Date(2026, 10, 27, 8, 6)}
        end={new Date(2026, 10, 27, 9, 50)}
        code="ZK4M9T"
        status="cancelled"
        service={{ name: "Deutsche Bahn", icon: "brandDeutschebahn" }}
      />
    </div>
  );
}
```

## Props

### ReservationCard

| Prop | Type | Notes |
| --- | --- | --- |
| `kind` | `"stay" \| "flight" \| "train" \| "ride" \| "order" \| "event"` | Required |
| `title` | `string` | Required |
| `subtitle?` | `ReactNode` | "Hotel Atlantic · 2 nights", "LH 2024 · Seat 14A". |
| `start` | `Date \| string \| number` | Required |
| `end?` | `Date \| string \| number` |  |
| `place?` | `ReactNode` | Where: an address, airport codes, a restaurant. |
| `code?` | `string` | Booking or order number. |
| `status?` | `"confirmed" \| "pending" \| "cancelled" \| "delayed" \| "onTheWay" \| "delivered"` |  |
| `statusText?` | `string` | Extra words for the status: "+25 min", "Arrives 19:40". |
| `service?` | `ServiceRef` |  |
| `actions?` | `ReactNode` |  |
| `className?` | `string` | Extra class on the root element. |
| `style?` | `CSSProperties` | Inline style on the root element. |

### Button

| Prop | Type | Notes |
| --- | --- | --- |
| `variant?` | `"primary" \| "secondary" \| "soft" \| "ghost" \| "danger" \| "danger-solid"` |  |
| `size?` | `"md" \| "sm"` |  |
| `icon?` | `IconName` |  |
| `iconRight?` | `IconName` |  |
| `disabled?` | `boolean` |  |
| `type?` | `"button" \| "submit" \| "reset"` |  |
| `onClick?` | `(e: MouseEvent<HTMLButtonElement>) => void` |  |
| `children?` | `ReactNode` |  |
| `asChild?` | `boolean` | Render the single child element (a link, a router Link) with the button's look instead of a <button>. |
| `id?` | `string` |  |
| `name?` | `string` | Form field name and value, sent with the form when this button submits it. |
| `value?` | `string` |  |
| `form?` | `string` | The id of the form this button belongs to, when it sits outside it. |
| `title?` | `string` |  |
| `tabIndex?` | `number` |  |
| `autoFocus?` | `boolean` |  |
| `aria-label?` | `string` |  |
| `aria-labelledby?` | `string` |  |
| `aria-describedby?` | `string` |  |
| `aria-expanded?` | `boolean \| "true" \| "false"` | For disclosure and menu triggers: whether what the button controls is open. |
| `aria-controls?` | `string` |  |
| `aria-haspopup?` | `boolean \| "true" \| "false" \| "menu" \| "listbox" \| "tree" \| "grid" \| "dialog"` |  |
| `aria-pressed?` | `boolean \| "true" \| "false" \| "mixed"` | For toggle buttons. |
| `aria-current?` | `boolean \| "true" \| "false" \| "page" \| "step" \| "location" \| "date" \| "time"` |  |
| `className?` | `string` | Extra class on the root element. |
| `style?` | `CSSProperties` | Inline style on the root element. |
