Library tables

Contract

TextTable renders static tabular scalar text. DataTable renders dense records with column definitions, row objects, optional status cells, metadata, row events, or row links.

Rows require stable ids when they emit events. Row links use same-origin paths, host-resolved resource URLs, or allowlisted https: URLs. Invalid links fail validation before render.

package notesui

var notesTable = (
  <DataTable rows={notes} columns={noteColumns}></DataTable>
)

Consequence

Product modules project records into generic rows while keeping business-specific labels in their own view models.