# Tables

**Last updated:** 2026-11-27T01:30:24-03:00 (UTC-3)

Tables hold the console's inventories and breakdowns: keys, models, logs, groups. They stay readable at any width by scrolling inside their panel rather than squeezing columns. Part of the [design system](/docs/design/overview/).

## Anatomy

| Part | Look |
|---|---|
| Header row | An uppercase overline with no fill: 11px, `--font-weight-medium`, `--letter-spacing-overline`, in `--color-text-faint` (`--color-text-soft` in the light theme), over a `--color-line` rule; a header never wraps |
| Cell | Body font, 12px, `--color-text-soft`; the object's name (`.strong-cell`) in `--color-text` |
| Row divider | A `--color-line` hairline between rows; no zebra striping |
| Row hover | The `--color-fill-hover` fill (fainter than `--color-fill-on`, so the faintest text keeps 4.5:1 on it) |
| Numbers | Right-aligned in their column when they compare; a unit or share on a second line in soft text |
| Status | A word or a code in its status color with a mark of its own shape, never a chip (see [Color](/docs/design/color/#status)) |
| Row actions | Last column: one quiet **Manage** menu for the row's ordinary actions, with the destructive ones beside it in the semantic red (see [Buttons](/docs/design/buttons/#menus-that-hold-buttons)) |

A table sits directly on its panel, so the header reads against the panel: the faint and soft text colors on glass are checked contrast pairs, and the console's `theme.spec` measures the header again on the rendered page.

## Wide tables

Console tables have a minimum width (1050px by default) and sit in a `.table-scroll` container that scrolls horizontally inside the panel. At phone width the reader scrolls the table, not the page, and the page keeps its 16px gutters. Do not hide columns to make a table fit: put the most important columns first instead.

## Empty, loading and partial data

- No rows at all: an [empty state](/docs/design/empty-states/) inside the panel, not an empty table with headers.
- Loading: keep the previous rows until the new ones arrive; see [Loading states](/docs/design/loading-states/).
- Unknown values are written out ("Not reported", "Coverage unavailable"), never shown as zero or a blank cell: unknown usage is not zero usage.

## Site tables

On the site, Markdown tables use Starlight's style with the system's colors: headers in `--color-text` at weight 600, cells in `--color-text-body`, a `--color-surface-strong` rule under every row, and horizontal scrolling when the table is wider than the content column. Feature tables (flag, description, default) give the description column at least 11rem, so flag names wrap instead of squeezing the text.

## Example

```html
<div class="table-scroll">
  <table>
    <thead>
      <tr><th>Model</th><th>Requests / share</th><th>Error rate</th><th>Investigate</th></tr>
    </thead>
    <tbody>
      <tr>
        <td class="strong-cell">chat-default</td>
        <td>40<br /><small>100.0% of selection</small></td>
        <td>5.0%<br /><small>2 errors</small></td>
        <td><button class="identity-link" type="button">Inspect requests</button></td>
      </tr>
    </tbody>
  </table>
</div>
```

```css
.release-table th {
  border-bottom: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-text-faint);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-overline);
  text-transform: uppercase;
  white-space: nowrap;
}
:root[data-theme="light"] .release-table th {
  color: var(--color-text-soft);
}
.release-table td {
  border-top: 1px solid var(--color-line);
  color: var(--color-text-soft);
}
.release-table tbody tr:hover {
  background: var(--color-fill-hover);
}
```
