Home / File/ registry-blocks.ts — ui Source File

registry-blocks.ts — ui Source File

Architecture documentation for registry-blocks.ts, a typescript file in the ui codebase. 1 imports, 0 dependents.

File typescript 1 imports

Entity Profile

Dependency Diagram

graph LR
  da95b62a_03d1_1637_3f4a_793cdaaeb9b8["registry-blocks.ts"]
  ceec689a_1334_a657_3c35_094070222b09["schema"]
  da95b62a_03d1_1637_3f4a_793cdaaeb9b8 --> ceec689a_1334_a657_3c35_094070222b09
  style da95b62a_03d1_1637_3f4a_793cdaaeb9b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { type Registry } from "shadcn/schema"

export const blocks: Registry["items"] = [
  {
    name: "dashboard-01",
    type: "registry:block",
    description: "A dashboard with sidebar, charts and data table.",
    dependencies: [
      "@dnd-kit/core",
      "@dnd-kit/modifiers",
      "@dnd-kit/sortable",
      "@dnd-kit/utilities",
      "@tanstack/react-table",
      "zod",
    ],
    registryDependencies: [
      "sidebar",
      "breadcrumb",
      "separator",
      "label",
      "chart",
      "card",
      "select",
      "tabs",
      "table",
      "toggle-group",
      "badge",
      "button",
      "checkbox",
      "dropdown-menu",
      "drawer",
      "input",
      "avatar",
      "sheet",
      "sonner",
    ],
    files: [
      {
        path: "blocks/dashboard-01/page.tsx",
        type: "registry:page",
        target: "app/dashboard/page.tsx",
      },
      {
        path: "blocks/dashboard-01/data.json",
        type: "registry:file",
        target: "app/dashboard/data.json",
      },
      {
        path: "blocks/dashboard-01/components/app-sidebar.tsx",
        type: "registry:component",
      },
      {
        path: "blocks/dashboard-01/components/chart-area-interactive.tsx",
        type: "registry:component",
      },
      {
        path: "blocks/dashboard-01/components/data-table.tsx",
        type: "registry:component",
      },
      {
// ... (1256 more lines)

Dependencies

  • schema

Frequently Asked Questions

What does registry-blocks.ts do?
registry-blocks.ts is a source file in the ui codebase, written in typescript.
What does registry-blocks.ts depend on?
registry-blocks.ts imports 1 module(s): schema.
Where is registry-blocks.ts in the architecture?
registry-blocks.ts is located at deprecated/www/registry/registry-blocks.ts (directory: deprecated/www/registry).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free