Free, open-source data table component
Built with shadcn/ui, TanStack Table, Hono.js, Drizzle ORM, PostgreSQL
Features server-side pagination, filtering, and sorting
Supports TypeScript, accessibility, and modular architecture
MIT-licensed
TNKS Data Table is a free, open-source, advanced data table component developed by Jackson Kasi, designed to handle enterprise-level data operations with server-side processing for modern web applications. Its primary goal is to provide developers with a performant, accessible, and customizable table solution, targeting React developers building data-intensive apps like dashboards, CRMs, or admin panels. Built with shadcn/ui, TanStack Table (React Table v8), Hono.js, Drizzle ORM, PostgreSQL, and Tailwind CSS, it supports server-side pagination, filtering, sorting, and column resizing. The component is fully typed with TypeScript, follows WCAG accessibility guidelines, and integrates with a RESTful API for backend communication. For shadcn/ui enthusiasts, TNKS Data Table is a perfect fit, offering a robust, modular table with a demo hosted on Vercel.
Server-Side Operations: Pagination, filtering, and sorting handled at the database level for performance.
Shadcn UI Integration: Accessible, Radix UI-based components for modern UI.
TanStack Table: Headless table logic for flexible data management.
Column Resizing: Persistent column widths via custom hook (use-table-column-resize).
Accessibility: WCAG-compliant with keyboard navigation and ARIA attributes.
Type Safety: TypeScript for end-to-end type safety from API to UI.
Data Export: CSV/Excel export utilities for user convenience.
Modular Architecture: Extensible with custom hooks and utilities (e.g., search, date formatting).
Performance Optimized: Server-side operations prevent browser overload with large datasets.
Free and Open-Source: MIT license with no usage restrictions.
Accessible: WCAG compliance ensures inclusive table interactions.
Shadcn UI Synergy: Seamless integration with shadcn/ui projects.
Type-Safe: TypeScript enhances developer experience and reduces errors.
Community Potential: 77 GitHub stars and active development (April 2025).
Vercel Demo: Live demo showcases functionality.
React-Only: Limited to React/Next.js ecosystems, like shadcn/ui.
Setup Complexity: Requires Hono.js, Drizzle ORM, and PostgreSQL configuration.
Learning Curve: Needs familiarity with TanStack Table, shadcn/ui, and server-side APIs.
Documentation Needs: Setup and customization guides could be more detailed.
Early Stage: Virtualization support still in development (WIP).
Backend Dependency: Requires RESTful API setup for server-side features.
Niche Focus: Primarily suited for enterprise-level data tables, not lightweight UIs.
TNKS Data Table provides a variety of table-related components:
DataTable: Main table component for rendering data with server-side logic.
ColumnHeader: Sortable column headers with filtering and sorting UI.
DataTableResizer: Handles column resizing with persistent state.
Pagination: Controls for server-side pagination navigation.
Toolbar: Search, export, and filter controls for table interactions.
DataExport: UI for exporting table data to CSV/Excel formats.
TNKS Data Table operates on a Free model:
Free Access: Fully open-source under MIT license, available via GitHub.
TNKS Data Table integrates with:
React: Core framework for component rendering (v18+).
Shadcn UI: Radix UI-based components for accessibility and styling.
TanStack Table: Headless table logic (@tanstack/react-table).
Tailwind CSS: Utility-first styling for responsive design.
TypeScript: Static typing for robust development.
Hono.js: Lightweight backend framework for API endpoints.
Drizzle ORM: Type-safe ORM for PostgreSQL queries.
PostgreSQL: Database for server-side data operations.
React Query: Data fetching and caching for API integration (implied).
Vercel: Hosting for demo site (tnks-data-table.vercel.app).
TNKS Data Table is a free, advanced data table component using shadcn/ui for accessible, modern UI and TanStack Table for server-side operations.
Yes, fully open-source under MIT license.
No, designed for React/Next.js, aligned with shadcn/ui’s ecosystem.
Highly customizable with Tailwind CSS, TanStack Table, and modular hooks.
Advanced data table component with server-side operations.
Submit your Shadcn product to AllShadcn, get featured, and drive genuine traffic while showcasing your work to the world. Turn your creativity into revenue and begin selling today! 🚀