Table Row

A row component used within tables to display data cells.

Overview

No visual options. See Props for what it accepts.

All options

Header and data rows

TableRow has no visual options; it lays out header cells inside a TableHeader or data cells in the table body.

Name
Email
Role
John Doe
john@example.com
Developer

Accessibility

Row role

TableRow renders a div with role="row". Place it inside a TableContainer (role="table") or a TableHeader (role="rowgroup"), and fill it with TableHeaderCells or TableCells.

Props

PropTypeRequiredDescription
childrenReact.ReactNodeYes—