TheDocumentation Index
Fetch the complete documentation index at: https://genui.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
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 of column definitions with
key, header, and optional typeArray of row objects with keys matching column definitions
Enable column sorting (default:
true)Enable search/filter functionality (default:
false)Column Definition
Each column object supports:| Field | Type | Description |
|---|---|---|
key | string | Property name in row data |
header | string | Display name for column header |
type | string | Data type: text, number, date, currency, link |
align | string | Text alignment: left, center, right |
Example Request
Example Response
Column Types
| Type | Formatting |
|---|---|
text | Plain text |
number | Numeric formatting with locale |
currency | Currency formatting (e.g., $120,000) |
date | Date formatting |
link | Clickable link |
Use Cases
- Data exports: Spreadsheet-like views
- Leaderboards: Rankings and scores
- Inventories: Product lists, stock levels
- Reports: Financial data, metrics tables