Skip to main content
The table template renders data in a clean, sortable table format.
Not the same as the Table component in @std/dynamic. The top-level table template and the Table component used inside an @std/dynamic tree are rendered by two different components with different prop shapes — components/templates/TableRenderer.tsx for the top-level template, and the entry in lib/json-render/catalog.ts for @std/dynamic. If you’re composing a dashboard, use the shape documented in Dynamic Template. A payload that renders correctly in one context will not work in the other.

Content Schema

array
required
Array of column definitions with key, header, and optional type
array
required
Array of row objects with keys matching column definitions
boolean
Enable column sorting (default: true)
boolean
Enable search/filter functionality (default: false)

Column Definition

Each column object supports:

Example Request

Example Response

Column Types

Use Cases

  • Data exports: Spreadsheet-like views
  • Leaderboards: Rankings and scores
  • Inventories: Product lists, stock levels
  • Reports: Financial data, metrics tables