---
type: Component
title: Table
description: "Hairline rows, mono, tabular figures. The winning row sits on the gold tint with a gold rule at its left edge."
status: released
register: both
tags: [interface]
tokens: [--line, --line-2, --surface, --gain, --gain-bg, --border-hairline, --border-strong, --text-sm, --text-label, --f-mono]
---

```html
<div class="table-wrap"><table><thead><tr><th>rank</th><th>backend</th><th class="num">acc</th></tr></thead><tbody><tr class="sota"><td>1</td><td>ensemble-3</td><td class="num">83.1%</td></tr><tr><td>2</td><td>claude-opus</td><td class="num">80.4%</td></tr></tbody></table></div>
```

**Anatomy.** Mono at `--text-sm`, rows divided by hairlines, headers in the label role. Rows take `--surface` on hover. `.num` right-aligns a column with tabular figures.

**The winning row.** `tr.sota` sits on `--gain-bg` with a `--border-strong` rule in `--gain` inside its first cell. Leaderboards only: an admin table has no winning row.

**Wide tables.** Wrap the table in `.table-wrap`. The table scrolls sideways inside its frame; the page body never does.

**Rules.** Headers align left with their column's content. For sortable headers use the sort header. A status column uses the inline status, not badges.
