Home / File/ _registry.ts — ui Source File

_registry.ts — ui Source File

Architecture documentation for _registry.ts, a typescript file in the ui codebase. 1 imports, 1 dependents.

File typescript ComponentRegistry 1 imports 1 dependents

Entity Profile

Dependency Diagram

graph LR
  4db6a844_1603_cf26_0a1a_85f6d0af0311["_registry.ts"]
  ceec689a_1334_a657_3c35_094070222b09["schema"]
  4db6a844_1603_cf26_0a1a_85f6d0af0311 --> ceec689a_1334_a657_3c35_094070222b09
  12adcf8a_e27b_4bc3_5efc_cac4dcb51052["registry.ts"]
  12adcf8a_e27b_4bc3_5efc_cac4dcb51052 --> 4db6a844_1603_cf26_0a1a_85f6d0af0311
  style 4db6a844_1603_cf26_0a1a_85f6d0af0311 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { type Registry } from "shadcn/schema"

export const blocks: Registry["items"] = [
  {
    name: "preview",
    title: "Home",
    type: "registry:block",
    registryDependencies: [
      "alert-dialog",
      "avatar",
      "badge",
      "button",
      "button-group",
      "card",
      "checkbox",
      "combobox",
      "dropdown-menu",
      "empty",
      "field",
      "input",
      "input-group",
      "item",
      "label",
      "popover",
      "radio-group",
      "select",
      "separator",
      "sheet",
      "slider",
      "spinner",
      "switch",
      "textarea",
      "tooltip",
      "example",
    ],
    files: [
      {
        path: "blocks/preview.tsx",
        type: "registry:block",
      },
    ],
  },
  {
    name: "elevenlabs",
    title: "Elevenlabs",
    type: "registry:block",
    registryDependencies: ["example", "button", "card"],
    files: [
      {
        path: "blocks/elevenlabs.tsx",
        type: "registry:block",
      },
    ],
  },
  {
    name: "github",
    title: "GitHub",
    type: "registry:block",
    registryDependencies: [
      "avatar",
// ... (908 more lines)

Dependencies

  • schema

Frequently Asked Questions

What does _registry.ts do?
_registry.ts is a source file in the ui codebase, written in typescript. It belongs to the ComponentRegistry domain.
What does _registry.ts depend on?
_registry.ts imports 1 module(s): schema.
What files import _registry.ts?
_registry.ts is imported by 1 file(s): registry.ts.
Where is _registry.ts in the architecture?
_registry.ts is located at apps/v4/registry/bases/radix/blocks/_registry.ts (domain: ComponentRegistry, directory: apps/v4/registry/bases/radix/blocks).

Analyze Your Own Codebase

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

Try Supermodel Free