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

Documentation
See the documentation to get started.
Tech Stack
Features
•
[x] Server-side pagination, sorting, and filtering
•
[x] Customizable columns
•
[x] Auto generated filters from column definitions
•
[x] Dynamic
Data-Table-Toolbar
with search, filters, and actions
•
[x]
Notion/Airtable
like advanced filtering
•
[x]
Linear
like filter menu for command palette filtering
•
[x] Action bar on row selection
Running Locally
1.
Clone the repository
bash
1git clone https://github.com/sadmann7/shadcn-table
2.
Install dependencies using pnpm
bash
1pnpm install
3.
Copy the
.env.example
to .env
and update the variables.
bash
1cp .env.example .env
4.
(Optional) Run database using docker-compose.yml file
bash
1docker compose up
5.
Push the database schema
bash
1pnpm run db:push
6.
Seed the database
bash
1pnpm run db:seed
7.
Start the development server
bash
1pnpm run dev
On this page