Components
Components
Table
Accessible data table foundation with sorting and empty states.
newfree
pnpm add @komponents/uiCanonical TypeScript source · tree-shakeable subpathsLightweight table built on React Aria. Sorting stays client-side for the foundation; TanStack-powered advanced tables come later.
Loading rows…
Usage
States
- Sorted columns via
allowsSorting+sortDescriptor TableEmptyfor zero-result layoutsTableLoadingfor pending fetches
Accessibility
- Grid semantics from React Aria Table
- Sortable column announcements
- Keyboard focus for rows and columns
Compound API
TableRoot.Header, TableRoot.Column, TableRoot.Body, TableRoot.Row,
TableRoot.Cell, TableRoot.Empty, and TableRoot.Loading are also exported.