DataTable
Framed dataset with search, filters, column settings, and a caption title.
Inline cell content for datasets: text, link, avatar, file, payment, badge, trend, avatar group, select, progress, rating, or row actions, with optional checkbox.
Inline dataset cell. Compose kit Avatar, Badge, Checkbox, Select, Button, and ButtonGroup. DataTable renders Cell in each td.
A medium text cell with an avatar and a name. Variants shows the other types.
Compose kit Avatar, Badge, and Checkbox. DataTable uses Cell in every td. Do not invent a local cell, Tag, Trend, or FileIcon.
import { Cell } from "agentic-ds-kit";From contracts/cell.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 |
|---|---|---|---|---|
| type | enum | No | text | trendPositive and trendNegative render a kit Delta (direction up or down, value from label or value, default success or danger tone); put the sign in the value, e.g. +$600 or −$90. With text false they show the arrow only and the cell aria-label says Up or Down and the value. text | link | avatar | file | payment | badge | badges | trendPositive | trendNegative | avatarGroup | select | progress | rating | actions | actionIcons | actionMenu |
| size | sm | md | No | md | Avatar, AvatarGroup, Badge and Delta map sm/md (Avatar sm 24, md 32). Checkbox is always sm. |
| text | boolean | No | true | When false, hide the label (visual-only). type=text with text=false and no checkbox is an empty slot. |
| checkbox | boolean | No | false | Leading unlabeled kit Checkbox. ariaLabel is Select ${label || name || "row"}. |
| label | string | No | — | Text shown when text is true. For type=text this is the content. |
| name | string | No | — | Avatar / AvatarGroup person name; required for those types; falls back to label. |
| src | string | No | — | — |
| initials | string | No | — | — |
| avatarTone | enum | No | — | type avatar only: passed to Avatar tone (the fallback tint for initials). Left out, the tint is picked from the name. neutral | info | success | warning | accent |
| people | array | No | — | Required for avatarGroup. Passed to kit AvatarGroup, max default 3. |
| icon | KitIcon | No | — | file default File, payment default CreditCard. A curated Lucide name (PascalCase or kebab-case) renders instantly; any other Lucide name needs import "agentic-ds-kit/icons-on-demand" once (otherwise it is skipped with a dev warning). Or pass the Lucide component (Plus) or an element. |
| tone | enum | No | neutral | Single Badge. Demos use success for Active-like, else neutral. neutral | primary | brand | success | warning | danger | info | highlight |
| badges | array | No | — | type=badges. Cap at 3 kit Badges. |
| value | string | number | No | — | Trend number, progress 0-100, rating 0-5, or select value. |
| checked | boolean | No | — | only when checkbox |
| defaultChecked | boolean | No | — | only when checkbox |
| onCheckedChange | function | No | — | (checked: boolean) => void — only when checkbox |
| id | string | No | — | checkbox id; useId if omitted |
| href | string | No | — | type=link destination; label is the link text. Without href or label it renders as text. |
| linkAs | KitLinkComponent | No | — | type=link: router link to render instead of <a>, e.g. Next.js Link. Receives href, className, onClick, children |
| options | array | No | — | Required for type=select. Passed to kit Select. |
| actions | array | No | — | type=actions (labeled Buttons in ButtonGroup, cap 3), actionIcons (icon-only Buttons, each ariaLabel), actionMenu composes kit DropdownMenu from actions. |
Framed dataset with search, filters, column settings, and a caption 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.
An editable table: people click a cell to add or change its content, like rule conditions, line items, or mappings.
Overlapping row of kit Avatars with an optional leftover count.