Menu
View as Markdown

Components

Table

Static fixture output for the Table component contract.

Table keeps semantic table sections, row headers, captions, and colspan output in authored TSX.

Invoices for the current billing period
InvoiceStatusAmount
INV-0042Paid$250.00
Two pending invoices omitted
data-statenot emitted
keyboardNative table navigation semantics
change reasonsnot stateful

Usage

A semantic data table with header, body, and styled rows.

  • Import the versioned component from @kovojs/ui/table.
  • Copy the source into your app with kovo add table when product code should own the implementation.

Source

  • Package source: packages/ui/src/table.tsx
  • Gallery fixture: examples/gallery/src/demo-fixtures.tsx

Behavior contract

The rendered fixture above includes the component contract table. Interactive pages compile the authored TSX demo and then lift the same contract table from the static fixture, so the visible behavior and documented ARIA/data-state surface stay together.