Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

TanStack Table

free

Headless table logic: sorting, filtering, pagination, selection and grouping, rendered with your own markup.

by TanStack (Tanner Linsley) GitHub npm
visit
TanStack Table website

Try these

AG Grid

Batteries-included data grid: editing, filters, virtualization and themes built in; Enterprise features are paid.

shadcn/ui

Copy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI.

shadcn-vue

The Vue port of shadcn/ui: copy-in Tailwind components on Reka UI.

shadcn-svelte

The Svelte 5 port of shadcn/ui: copy-in Tailwind components on bits-ui.

Looks that pick it

For your agent

Install
npm i @tanstack/react-table
Use it for
  • a sortable, filterable data table styled by your own kit (shadcn-ui's Data Table is built on it)
  • an admin list with server-side pagination, sorting and filters driven by your API
  • row selection with bulk actions, column visibility toggles and pinned columns
Skip it when
  • a spreadsheet-like grid with cell editing and keyboard navigation out of the box: use ag-grid
  • a short static table of a few rows: use a plain table or your kit's Table part
What's inside17 free
  • Sorting
  • Column Filtering
  • Global Filtering
  • Column Faceting
  • Pagination
  • Row Selection
  • Row Expanding
  • Row Pinning
  • Column Pinning
  • Column Ordering
  • Column Sizing
  • Column Resizing
  • Column Visibility
  • Grouping
  • Aggregation
  • Cell Selection
  • Cell Spanning
Facts
Frameworks
react, vue, svelte, solid, angular, vanilla
Styling
unstyled
Weight
small
Accessibility
n/a
Maturity
established
License
MIT
Price
Free
Pairs with
Alternatives
import { createColumnHelper, createSortedRowModel, rowSortingFeature, sortFn_alphanumeric, tableFeatures, useTable } from "@tanstack/react-table"

const features = tableFeatures({ rowSortingFeature, sortedRowModel: createSortedRowModel(), sortFns: { alphanumeric: sortFn_alphanumeric } })
const col = createColumnHelper<typeof features, User>()
const columns = col.columns([col.accessor("name", { header: "Name" }), col.accessor("email", { header: "Email" })])

const table = useTable({ features, columns, data })
// <th onClick={header.column.getToggleSortingHandler()}><table.FlexRender header={header} /></th>
// rows: table.getRowModel().rows, cells: <table.FlexRender cell={cell} />
Visit