Components
Components
Table
Accessible data table foundation with sorting and empty states.
newfree
Install
@hewnui/ui · hewnui
Lightweight 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.
API reference
Props for Table from @hewnui/ui/table. Generated from component types — not hand-written.
Prop
Type