BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn-ui-blocks/data-table-01

Supabase Data Table

shadcn-ui-blocks-shadcnship/data-table-01
FreeBlock

Paginated data table with global search and sortable columns. Two modes: pass a data array for client-side rendering, or a Supabase table name for server-side pagination. Supports text, date, badge, tags, and status cell types.

See it running

Open the demo on shadcn-ui-blocks

shadcnship.com/blocks/data-table-01
Open
This registry sends X-Frame-Options, so its page cannot be embedded here. The link is the same page the frame would have shown.

Install it

npx shadcn@latest add https://shadcnship.com/r/data-table-01.json

Source

src/registry/blocks/data-table-01/data-table.tsxshadcnship.com/r/data-table-01.json
1import { DataTableClient } from "./components/client";
2import { getData } from "./data-table-actions";
3import { DEMO_DATA } from "./data/demo";
4import type { ColumnDef, CellType } from "./lib/utils";
5
6const SEARCHABLE_TYPES = new Set<CellType>(["text", "badge", "status"]);
7
8// ─────────────────────────────────────────────────────────────────────────────
9// Row type — adapt fields to your own data model
10// ─────────────────────────────────────────────────────────────────────────────
11
12export type Row = {
13 id: string;
14 name: string;
15 email: string;
16 status: "active" | "inactive" | "pending";
17 category: string;
18 tags?: string[];
19 created_at: string;
20};
21
22// ─────────────────────────────────────────────────────────────────────────────
23// Column definitions — customize to your data model
24// ─────────────────────────────────────────────────────────────────────────────
25
26export const COLUMNS: ColumnDef<Row>[] = [
27 { key: "name", header: "Name", type: "text", sortable: true },
28 { key: "email", header: "Email", type: "text" },
29 {
30 key: "status",
31 header: "Status",
32 type: "status",
33 statusConfig: {
34 active: { label: "Active", dot: "bg-green-500" },
35 inactive: { label: "Inactive", dot: "bg-muted-foreground" },
36 pending: { label: "Pending", dot: "bg-amber-500" },
37 },
38 },
39 { key: "category", header: "Category", type: "badge" },
40 { key: "tags", header: "Tags", type: "tags" },
41 {
42 key: "created_at",
43 header: "Date",
44 type: "date",
45 align: "right",
46 sortable: true,
47 },
48];
49
50// ─────────────────────────────────────────────────────────────────────────────
51// Config
52// … truncated

What it pulls in

npm packages

  • lucide-react
  • @tanstack/react-table

Other registry items

  • table
  • badge
  • button
  • input
  • dropdown-menu

Files it writes

  • src/registry/blocks/data-table-01/data-table.tsx
  • src/registry/blocks/data-table-01/data-table-actions.ts
  • src/registry/blocks/data-table-01/lib/utils.ts
  • src/registry/blocks/data-table-01/components/client.tsx
  • src/registry/blocks/data-table-01/components/cell-renderers.tsx
  • src/registry/blocks/data-table-01/components/table.tsx
  • src/registry/blocks/data-table-01/components/searchbar.tsx
  • src/registry/blocks/data-table-01/components/pagination.tsx
  • src/registry/blocks/data-table-01/data/demo.ts

Facts

Registry
shadcn-ui-blocks
Type
registry:block
Access
Free
Files written
9
Licence
the repository states none
In the index
at or before 2026-08-08
Last confirmed
today

Go to the source

Docs on shadcn-ui-blocks shadcnship.com arnaudvolp/shadcnship on GitHub Raw registry item This item as JSON

More from shadcn-ui-blocks

All 74 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Square Grid Backgroundbackground-01shadcn-ui-blocksBlocksFreeno deps
Dot Pattern Backgroundbackground-02shadcn-ui-blocksBlocksFreeno deps
Diagonal Stripes Backgroundbackground-03shadcn-ui-blocksBlocksFreeno deps
Vertical Lines Backgroundbackground-04shadcn-ui-blocksBlocksFreeno deps
Interactive Grid Backgroundbackground-05shadcn-ui-blocksBlocksFreeno deps
Banner 01banner-01shadcn-ui-blocksBlocksFree1 dep
Blog 01blog-01shadcn-ui-blocksBlocksFreeno deps
Changelog 01changelog-01shadcn-ui-blocksBlocksFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex