Data Display

TableRow

Row within a table that groups header or body cells and participates in row-selection state when configured.

import { TableRow } from '@lostgradient/cinder/table-row';
tablerow
01

Overview

tr wrapper that groups a set of cells into a single table row.

Usage

TableRow is a compose-only leaf of Table. The idiomatic API is Table.Row, reached through the parent namespace — see the table README for the composed snippet. The flat @lostgradient/cinder/table-row subpath remains exported for à-la-carte builds that import the leaf directly.

02

When to use

Use when
  • Grouping table-cell or table-header-cell children into a single horizontal record.
  • Wiring per-row selection by passing the selection prop in a selectable table.
Avoid when
  • Standing alone outside a table — it requires the table section context.
03

Props

Props for table-row
Name Type Default Required Bindable Description
children snippet req Cell children (TableCell or TableHeaderCell).
selected unknown req
onSelectedChange unknown req
selectionLabel unknown req
selectionDisabled unknown req