shadcn-table

Shadcn table with server-side sorting, filtering, and pagination.
GitHub
4.41k
Created 2 years ago, last commit 2 hours ago
26 contributors
1.1k commits
Stars added on GitHub, month by month
N/A
3
4
5
6
7
8
9
10
11
12
1
2
2024
2025
Stars added on GitHub, per day, on average
Yesterday
+12
Last week
+8.4
/day
Last month
+22.5
/day
README

This is a shadcn table component with server-side sorting, filtering, and pagination. It is bootstrapped with create-t3-app.

Shadcn Table

Documentation

See the documentation for more information.

Tech Stack

Features

  • Server-side pagination, sorting, and filtering
  • Customizable columns
  • Auto generated filters from column definitions
  • Dynamic Data-Table-Toolbar with search, filters, and actions
  • Notion/Airtable like advanced filtering
  • Linear like filter menu for command palette filtering
  • Action bar on row selection

Running Locally

  1. Clone the repository

    git clone https://github.com/sadmann7/shadcn-table
  2. Install dependencies using pnpm

    pnpm install
  3. Copy the .env.example to .env and update the variables.

    cp .env.example .env
  4. (Optional) Run database using docker-compose.yml file

    docker compose up
  5. Push the database schema

    pnpm run db:push
  6. Seed the database

    pnpm run db:seed
  7. Start the development server

    pnpm run dev

How do I deploy this?

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