Shadcn React Table

Search documentation

Search the docs

v1.0 · TanStack Table v9

Every data-table feature, in your shadcn style.

Sorting, filtering, editing, grouping and virtualization, installed as source you own. One hook in, one component out.

Get startedBrowse guides

83 examples · 38 languages · 600+ tests · Radix & Base UI

01 Sort: sorting

01Customize

Make it yours.

Pick a shadcn style, colors, font and radius — the table restyles live. It installs in your project's own style.

VegaThe classic shadcn look

Built on

  • TanStack Table v9
  • shadcn/ui
  • React 19
  • Tailwind CSS v4
  • Radix UI & Base UI

Feature parity with Material React Table — see the migration guide

03For coding agents

Paste one line into your agent.

The skill teaches your agent the install, the API and the patterns, so it builds the table the way the docs do.

Install shadcn-react-table in my app: https://monabbir-ahmmad.github.io/shadcn-react-table/SKILL.md

Skill
npx skills add Monabbir-Ahmmad/shadcn-react-table
MCP
pnpm dlx shadcn@latest mcp init --client claude
Docs
https://monabbir-ahmmad.github.io/shadcn-react-table/llms.txt
AI agent setup →

04Install

Three steps.

One command installs the table source, the primitives it uses in your style, and its dependencies.

  1. Add the block

    $ npx shadcn@latest add https://monabbir-ahmmad.github.io/shadcn-react-table/r/data-table.json
  2. Build a table

    import { DataTable, useDataTable } from "@/components/ui/data-table"
    
    function Users({ data, columns }) {
      const table = useDataTable({ data, columns })
      return <DataTable table={table} />
    }
  3. Make it yours

    The source lives in your project, so edit it in place — restyle it, change a behavior, or delete what you do not use.

Installation guide →