Components

DataTable

DataTable — a typed, configuration-driven table for presenting rows of structured data (reservations, folios, arrivals) in aligned columns. Define columns once — header, alignment, width, and an optional custom cell renderer — and pass row data; the table handles layout, horizontal scrolling, and the empty state. Use `density="compact"` for dense operational views, and provide `onRowClick` when a row should open its detail. Reach for it whenever data is naturally tabular; for a handful of key/value pairs a simple list is lighter.