Cell
Inline cell content for datasets: text, link, avatar, file, payment, badge, trend, avatar group, select, progress, rating, or row actions, with optional checkbox.
Column header for DataTable: label, optional select-all checkbox, optional sort, sm or md.
Column title for DataTable. Optional select-all checkbox. Cell is the body.
A medium column title, framed so its edges read. Variants shows select all, sortable and number columns.
import { HeaderCell } from "agentic-ds-kit";From contracts/headercell.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 |
|---|---|---|---|---|
| defaultChecked | boolean | No | — | Uncontrolled initial state of the header checkbox (checkbox only). Use checked + onCheckedChange to control it. |
| label | string | No | — | Column title. Omit for checkbox-only select-all. |
| size | sm | md | No | md | — |
| checkbox | boolean | No | false | — |
| checked | boolean | No | — | — |
| indeterminate | boolean | No | — | — |
| onCheckedChange | function | No | — | (checked: boolean) => void |
| align | start | end | center | No | start | end for number columns. center for actionMenu columns. |
| id | string | No | — | — |
| sortable | boolean | No | false | — |
| sort | asc | desc | No | — | Active direction. Omit when unsorted. |
| onSort | function | No | — | () => void. DataTable cycles asc, desc, off. |
| wrap | boolean | No | false | Label wraps onto more lines; the sort icon stays on the line of the last word. DataTable sets it for columns with wrap. Without it the label stays on one line. |
Inline cell content for datasets: text, link, avatar, file, payment, badge, trend, avatar group, select, progress, rating, or row actions, with optional checkbox.
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.
An editable table: people click a cell to add or change its content, like rule conditions, line items, or mappings.
Framed dataset with search, filters, column settings, and a caption title.