Data Display

TableBody

Body section of a table that groups data rows and establishes the body section context for nested rows.

import { TableBody } from '@lostgradient/cinder/table-body';
tablesection
01

Overview

tbody wrapper that houses the data rows within a table layout.

Usage

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

02

When to use

Use when
  • Wrapping the data rows of a table to distinguish them from header rows.
Avoid when
  • Wrapping header rows — use table-header instead.
03

Props

Props for table-body
Name Type Default Required Bindable Description
children snippet req Row children.