Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

tablecn

> 前端框架
Open source

Data table and data grid components built with shadcn/ui, featuring sorting, filtering, pagination, infinite scrolling, and real-time collaboration.

6.2K stars0 likes1 views
WebsiteGitHub

About

Data table and data grid components built with shadcn/ui, featuring sorting, filtering, pagination, infinite scrolling, and real-time collaboration.

tablecn

Data table and data grid components built with shadcn/ui, featuring sorting, filtering, pagination, infinite scrolling, and real-time collaboration.

Documentation

See the documentation to get started.

Tech Stack

  • Framework: Next.js
  • Styling: Tailwind CSS
  • UI Components: shadcn/ui
  • Table: TanStack Table
  • Reactive store: TanStack DB
  • Database: PostgreSQL
  • ORM: Drizzle ORM
  • Validation: Zod
  • Multiplayer: PartyKit

Features

  • Server-side pagination, sorting, and filtering
  • Customizable columns
  • Auto generated filters from column definitions
  • Notion/Airtable like advanced filtering
  • Linear like filter menu for command palette filtering
  • Action bar on row selection
  • Infinite scrolling with virtualization
  • Real-time collaboration

Running Locally

Quick Setup (with Docker)

  1. Clone the repository

    bash
    git clone https://github.com/sadmann7/tablecn
    cd tablecn
  2. Copy the environment variables

    bash
    cp .env.example .env
  3. Run the setup

    bash
    pnpm ollie

    This installs dependencies, starts the Docker PostgreSQL instance, pushes the schema, and seeds sample data.

Manual Setup

  1. Clone the repository

    bash
    git clone https://github.com/sadmann7/tablecn
    cd tablecn
  2. Install dependencies

    bash
    pnpm install
  3. Set up environment variables

    bash
    cp .env.example .env

    Update .env with your database credentials.

  4. Start the database and dev server

    bash
    pnpm db:start   # start the PostgreSQL container
    pnpm db:setup   # push schema and seed data
    pnpm dev        # start the Next.js dev server

Multiplayer

To run the multiplayer demo locally:

bash
pnpm dev:multiplayer

This starts both the Next.js and PartyKit dev servers concurrently.

Deployment

Follow the deployment guides for Vercel, Netlify, and Docker.

The multiplayer demo uses PartyKit as a separate deployment:

bash
pnpm deploy:multiplayer

Set NEXT_PUBLIC_PARTYKIT_HOST in your deployment environment variables after deploying.

Credits

  • shadcn/ui - For the initial implementation of the data table.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptdata-griddata-tablemultiplayernextjs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架