shadcn-impl-data-table
OfficialBuild correct shadcn DataTables with TanStack
Software Engineering#react#pagination#shadcn#server-side rendering#datatable#tanstack table v8#row selection
AuthorImpertio-Studio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It eliminates broken and empty shadcn DataTable implementations by enforcing the correct TanStack Table v8 recipe, controlled state wiring, and the client/server data contract.
Core Features & Use Cases
- Correct DataTable “recipe” composition: builds a reusable
components/ui/data-table.tsxthat renders shadcnTableprimitives driven by TanStack row/header models. - Deterministic feature wiring: ensures
getCoreRowModel()is always present, and that optional features (sorting, filtering, pagination, row selection, column visibility, optional resizing) are implemented with the right row-model functions and state keys. - Production-safe server-side integration: provides the rules for
manualSorting,manualFiltering, andmanualPaginationincluding the requirement forpageCount/rowCount, plus guidance to avoid double-sorting/double-filtering. - Guardrails against common failures: prevents zero-row bugs, selection collisions (missing
getRowId), infinite pagination (missingpageCount), and Next.js hydration failures (missing"use client").
Quick Start
Use the skill to implement a sortable, filterable, and paginated shadcn DataTable by wiring TanStack Table v8 with the required row-model functions, controlled state, and the correct "use client" boundary.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: shadcn-impl-data-table Download link: https://github.com/Impertio-Studio/shadcn-ui-Claude-Skill-Package/archive/main.zip#shadcn-impl-data-table Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.