Skip to content

CSS: table.row-header ​

th[scope="row"] — A row-header cell (InstUI Table.RowHeader); styled from the row-header tokens, not the column-header ones.

The parent table's -layout-stacked modifier stacks this member as a block and labels it via ::before — see table's own doc for that modifier.

Usage ​

css
@import "@pantoken/components/components.css";
@import "@pantoken/components/table.row-header.css";

Examples ​

Pseudo-elements ​

Pseudo-elementDescription
::before—

Conditions ​

TypeQueryDescription
container(width < 48em)—

Accessibility ​

Use <th scope="row"> so the cell names its row for assistive technology.

ConditionsRebrand (light)Rebrand (dark)CanvasCanvas High Contrast
more-contrast-respectedWCAG 2.2 1.4.3, 1.4.6PassPassPassPass
reflow-at-320pxWCAG 2.2 1.4.10PassPassPassPass
text-spacing-no-clippingWCAG 2.2 1.4.12PassPassPassPass
Screen reader (simulated)Rebrand (light)Rebrand (dark)CanvasCanvas High Contrast
AnnouncementsPassPassPassPass

These automated results do not establish that the page meets WCAG; manual review is still needed.

Tokens consumed ​

TokenTypeValue
--instui-component-table-col-header-color<color>LightDarklight-dark(#273540, #F2F4F5)
--instui-component-table-head-font-weight<integer>600
--instui-component-table-row-header-background<color>LightDarklight-dark(#ffffff, #10141A)
--instui-component-table-row-header-color<color>LightDarklight-dark(#273540, #F2F4F5)
--instui-component-table-row-header-font-weight<integer>400
--instui-component-table-row-header-line-height<percentage>125%
--instui-component-table-row-header-padding-horizontal<length>0.75rem
--instui-component-table-row-header-padding-vertical<length>0.5rem