ComponentReactregistry:component
Data Table
data-table
TanStack-powered data table: faceted, text, range and date filters, sortable columns, column visibility, row selection and pagination, with page, sort and filters kept in the URL. One useDataTable hook drives it: pass pageCount to query server-side, or omit it to sort, filter and page a local array in memory. Ships as a folder of composable parts.
This item declares no source files.
Notes from the author
Needs a NuqsAdapter wrapping your app (nuqs) or the URL-synced page/sort/filter state won't work. Built for @tanstack/react-table v9; the table's features, row models and column meta typing live in data-table-features.ts. Component files keep a "use no memo" pragma, required under the React Compiler because column/row getter reads would otherwise be memoized stale, so don't remove it.
@hirael
