Blocks

Data table CRUD

Filtered list, row actions, and create/edit in a sheet.

Full screen

Installation

Registry CLI

Requires a one-time components.json registry entry for @feature-kit/blocks-data-table-crud.

pnpm dlx shadcn@latest add https://feature-kits.vercel.app/r/blocks-data-table-crud.json

Namespaced: npx shadcn@latest add @feature-kit/blocks-data-table-crud

Manual installation

Monorepo consumers can depend on workspace:* packages instead of the registry CLI.

pnpm add layout data-table form theme ui

Dependencies

// apps/your-app/package.json
"dependencies": {
    "layout": "workspace:*"
    "data-table": "workspace:*"
    "form": "workspace:*"
    "theme": "workspace:*"
    "ui": "workspace:*"
}

Transpile (Next.js)

// next.config.ts
transpilePackages: ["layout", "data-table", "form", "theme", "ui"]

Import

import { DataTableCrudBlock } from "@/components/blocks/data-table-crud-block"

On this page