Supabase + shadcn/ui + TanStack Table
A demo app that fetches and filters Supabase rows on the server and shows them in a TanStack Table.
- Category
- Libraries & Components
- Added
- GitHub stars
- 43
- License
- MIT
- Price
- Free
About
About Supabase + shadcn/ui + TanStack Table
This example project shows how to read data from a Supabase PostgreSQL table and display it in a TanStack Table styled with shadcn/ui. It handles the parts that trip people up: loading only the current page of rows, calculating the total table size and applying a basic filter. The author extended shadcn/ui's data table example into a basic-data-table component, and the Supabase query and filter logic live in actions.ts.
To run it, clone the repository, run npm install, add your Supabase project URL and anon key to .env.local, set up row-level security and a table matching the demo schema of name, company, age and date. The project is MIT licensed. It suits developers wiring a server-rendered admin table to Supabase.
Supabase + shadcn/ui + TanStack Table features
6 features
- Server-side fetching from Supabase
- Server-side filtering
- Paged loading with total row count
- TanStack Table with shadcn/ui styling
- Extended data table component
- Demo schema generated with FakerJS
Install Supabase + shadcn/ui + TanStack Table
1 command
Terminal
$ git clone https://github.com/thisisfel1x/supabase-shadcn-database-example.gitWhat you can build with Supabase + shadcn/ui + TanStack Table
3 use cases
- Showing database rows in an admin screen with paging
- Adding filters to a Supabase-backed table
- Learning how to load only the visible page of data
Libraries & Components
Similar to Supabase + shadcn/ui + TanStack Table
More libraries & components like Supabase + shadcn/ui + TanStack Table: the closest by what they do, then the most starred.
TableCraftLibraryTableCraft pairs a Drizzle ORM query engine with a TanStack Table UI: server-side filtering, sorting, search, export and URL state, MIT licensed.
tablecnLibrarytablecn is an open-source data table and grid built on shadcn/ui, with sorting, filtering, pagination, infinite scroll and live collaboration.
tnks-data-tableLibrarytnks-data-table is an MIT-licensed data table for React using TanStack Table and shadcn/ui, with server-side operations, row selection and export.
Advanced Data TableLibraryAdvanced Data Table extends the shadcn/ui DataTable with draggable column widths, as a Vite, React and TypeScript example with source on GitHub.
Linked ChartLibraryLinked Chart syncs a Recharts chart with a TanStack DataTable in shadcn/ui: drag across the chart to filter the table, and aggregate data as you choose.
AdaptTableLibraryAdaptTable is a headless data table for React, Angular and Vue. One API renders natively in shadcn/ui and seven other kits, with mobile cards built in.
Pricing
Ship it with Pro
The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What Supabase + shadcn/ui + TanStack Table is, how to install it, its license and its alternatives.
Node.js and a Supabase project, with its URL and anon key placed in .env.local. Set up row-level security policies too.
The query and filtering logic are in components/actions.ts, and the table component is basic-data-table.
A demo app that fetches and filters Supabase rows on the server and shows them in a TanStack Table.
Supabase + shadcn/ui + TanStack Table lists Server-side fetching from Supabase, Server-side filtering, Paged loading with total row count, TanStack Table with shadcn/ui styling, Extended data table component and Demo schema generated with FakerJS.
The directory lists these uses for Supabase + shadcn/ui + TanStack Table: Showing database rows in an admin screen with paging, Adding filters to a Supabase-backed table and Learning how to load only the visible page of data.
Supabase + shadcn/ui + TanStack Table is made by thisisfel1x, at https://github.com/thisisfel1x. Its site is https://github.com/thisisfel1x/supabase-shadcn-database-example.
Supabase + shadcn/ui + TanStack Table was added to the directory on December 30, 2024.
Supabase + shadcn/ui + TanStack Table is in Libraries & Components. Component libraries and standalone components built on shadcn/ui, covering the data tables, pickers, editors and charts the core set leaves out.
Data table, Supabase, TanStack, Templates, React, Tailwind CSS, Open source and MIT. Each tag has a page listing the other resources that carry it.
Yes. Supabase + shadcn/ui + TanStack Table's page has a Live tab beside the screenshot that loads its site in a frame.
Supabase + shadcn/ui + TanStack Table lists this command: `git clone https://github.com/thisisfel1x/supabase-shadcn-database-example.git`.
Yes, according to its listing: Supabase + shadcn/ui + TanStack Table installs with `git clone https://github.com/thisisfel1x/supabase-shadcn-database-example.git`.
Supabase + shadcn/ui + TanStack Table's repository is https://github.com/thisisfel1x/supabase-shadcn-database-example.
The directory links no separate docs for Supabase + shadcn/ui + TanStack Table; start from its site at https://github.com/thisisfel1x/supabase-shadcn-database-example.
GitHub lists Supabase + shadcn/ui + TanStack Table under the MIT license. Read the license file in its repository for the terms.
The directory records no price for Supabase + shadcn/ui + TanStack Table. Its site, https://github.com/thisisfel1x/supabase-shadcn-database-example, is where its pricing, if any, is stated.
No. Supabase + shadcn/ui + TanStack Table is made by thisisfel1x and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Libraries & Components, newest first: TableCraft, tablecn, tnks-data-table and Advanced Data Table. Their pages are linked under Similar to Supabase + shadcn/ui + TanStack Table.
Open its category, Libraries & Components, or one of its tags (Data table, Supabase and TanStack): each page lists the resources that share it.
4.9 out of 5 from 150+ developers
Found your stack? Ship it.
6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.
Get Pro



