Prose
Eyebrow
The small uppercase line that says what a panel's contents are. Set in the faint ink so it labels the content without competing with it.
It is the language's answer to a panel heading: a <h2> inside a
panel of numbers is the wrong size and the wrong weight, and it lands in the
document outline as though the panel were a section. An eyebrow is typography
only - wide tracking, micro size, faint ink - and carries its own bottom
margin, so a panel's first element does not need one.
Put it on whatever element the document structure actually calls for: a
<p> where the panel is not a section, a real heading where it is.
The gap under it is --axi-eyebrow-gap. It falls back to 14px in a panel and 6px in a
tile, one density step down with the tile's own padding; an eyebrow standing in
a row - a sheet's head, a toolbar - sets it to 0 rather than writing a margin.
Labelling a panel
Top damage — 47 fights
The label carries the scale, in words, so the chart under it does not need an axis for it.
<div class="axi-panel" style="--axi-panel-pad: 18px">
<p class="axi-eyebrow">Top damage — 47 fights</p>
<p style="margin: 0; font: var(--axi-t-small); color: var(--axi-text-dim)">The label carries the scale, in words, so the chart under it does not need an axis for it.</p>
</div>
Knobs
| Property | Sets | Fallback |
|---|---|---|
--axi-eyebrow-gap | the gap under an .axi-eyebrow; tighter by default inside a tile | 14px, or 6px inside .axi-panel--tile |