Table
Simple semantic table for invoices, lists, and text rows, with optional sort, row menu, sticky header, loading, empty and error states, row dividers on or off, and one optional highlighted row.
A grid of cells, rows by columns, like weekday by hour, where each cell's shade shows its value. One hue from light to dark, a low-to-high legend, a tooltip per cell and a table view.
A grid of cells, rows by columns, where each cell's shade shows its value. One hue from light to dark, a low-to-high legend, a tooltip per cell and a table view.
Agent runs by weekday and hour, with quiet nights and an outage gap.
Last 7 days, local time
Four shades of the first chart colour, by equal shares of the largest value. Zero keeps a solid outline; a cell with no entry has a dashed one and says No data. Tab into the grid, then move with the arrow keys, Home and End.
import { Heatmap } from "agentic-ds-kit";From contracts/heatmap.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| rows | string[] | Yes | — | Row labels, top to bottom, like Mon to Sun. Each label is unique. |
| columns | string[] | Yes | — | Column labels, start to end, like 00 to 23. Each label is unique. |
| data | array | Yes | — | One entry per cell with a value. A cell with no entry shows as empty (No data), a cell with 0 shows as zero; both keep a visible outline. Entries for unknown rows or columns are ignored. |
| valueFormatter | function | No | — | (value: number) => string for the tooltip, the legend ends and the table. Defaults to the chart format: 1,240, 12.4k, 1.2M. |
| title | string | No | — | Chart heading on the frame, like the other charts. Also names the grid for screen readers. |
| description | string | No | — | One line under the title, like the time range. |
| isLoading | boolean | No | false | The chart frame shows its loading skeleton in place of the plot. Same as LineChart. |
| error | string | No | — | When set, the plot is replaced by the kit's "Couldn't load" row (role=alert) with this message. Same as LineChart. |
| onRetry | function | No | — | Shows an outline Retry Button on the error row. |
| actions | slot | No | — | Kit Buttons in the chart header, before the Table toggle, like an icon-only Ask. ghost sm reads quietest. Setting it draws the frame even with no title. |
Simple semantic table for invoices, lists, and text rows, with optional sort, row menu, sticky header, loading, empty and error states, row dividers on or off, and one optional highlighted row.
Framed dataset with search, filters, column settings, and a caption title.
An editable table: people click a cell to add or change its content, like rule conditions, line items, or mappings.
A full calendar of events by month, week, day, or list.