Components/Table Layout
Table Layout
Grid of restaurant/bar tables with color-coded status - free, occupied, reserved, closing, dirty.
Installation
npx @ajax-ui/cli add table-layoutProps
tables-{ id, label, seats?, status, ticketTotal? }[].statusper table: "free" | "occupied" | "reserved" | "billing" | "dirty".ticketTotal- shown when set (typically for occupied/billing).columns2–6 ·selectedTableId·onTableClick(id).