Table
A plain HTML table in a scroll area: sticky headings, a sticky first column, and rows that stack into labelled blocks on narrow screens.
Example
| Invoice | Customer | Status | Due | Amount |
|---|---|---|---|---|
| INV-1042 | Northwind Traders | Paid | Nov 3 | $1,280 |
| INV-1043 | Kestrel Labs | Due | Nov 18 | $640 |
| INV-1044 | Juniper & Vale | Overdue | Oct 30 | $2,150 |
| INV-1045 | Halcyon Freight | Paid | Nov 9 | $420 |
| INV-1046 | Orchard Systems | Due | Nov 24 | $975 |
| INV-1047 | Brightwater Co-op | Paid | Nov 12 | $310 |
| Total | 6 invoices | $5,775 |
Installation
pnpm dlx shadcn@latest add @uiset/tableIt lands in components/ui/table.tsx, with UISet’s root (uiset) and scroll-area. Wrap your app in <UISet> once, and every component takes its skin.
What it is
Table is one of UISet’s own parts, not a UI SDK component: it’s built from UI SDK’s behaviors and components, so it takes the keyboard, focus, screen readers and agents from them, and every skin styles it.
- Styles in five skins, each in light and dark, from CSS variables you can override.
- Text at 4.5:1 contrast and control edges and focus rings at 3:1, in every skin and theme, checked with axe in tests.
- Named for agents, so an agent can find it (see Agents below).
Its props, its parts and how to wire it to your data are in its section of the App frame and data display guide.
Agents
UI SDK’s agent bridge finds this component by its accessible name: give it a visible label or an aria-label, and an agent can read its state and call its actions without screenshots. Building with AI agents shows how to connect one.
Turn on Agent view above the example to see what an agent reads from it, as you use it, with its agent-check score and every action it offers, which you can run from there.