Table Header

The header section of a table, typically containing column labels.

Overview

No visual options. See Props for what it accepts.

All options

Header row

TableHeader has no visual options; it holds a TableRow of TableHeaderCells.

Column 1
Column 2
Column 3
Column 4

Accessibility

Row group role

TableHeader renders a div with role="rowgroup". Place it inside a TableContainer (role="table") and put its header cells in a TableRow (role="row").

Props

PropTypeRequiredDescription
childrenReact.ReactNodeYes—