Home / File/ registry.ts — ui Source File

registry.ts — ui Source File

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

Entity Profile

Dependency Diagram

graph LR
  9ac90965_ea43_20a3_a404_5f8becd2239c["registry.ts"]
  eb1c0af1_2e03_f4cc_1f57_67864ff565e0["_registry.ts"]
  9ac90965_ea43_20a3_a404_5f8becd2239c --> eb1c0af1_2e03_f4cc_1f57_67864ff565e0
  0eb70fb1_d639_c35b_d7ad_3342b13deb91["_registry.ts"]
  9ac90965_ea43_20a3_a404_5f8becd2239c --> 0eb70fb1_d639_c35b_d7ad_3342b13deb91
  c6aba644_043b_3b7d_5e3d_10cc055a8482["_registry.ts"]
  9ac90965_ea43_20a3_a404_5f8becd2239c --> c6aba644_043b_3b7d_5e3d_10cc055a8482
  4ea63439_2f3e_2052_5ff2_b789f5dbd567["_registry.ts"]
  9ac90965_ea43_20a3_a404_5f8becd2239c --> 4ea63439_2f3e_2052_5ff2_b789f5dbd567
  f7fbf521_0107_557c_aa31_0b61e1b2909d["_registry.ts"]
  9ac90965_ea43_20a3_a404_5f8becd2239c --> f7fbf521_0107_557c_aa31_0b61e1b2909d
  c45110c2_0cb3_5905_33f8_a91c87244198["_registry.ts"]
  9ac90965_ea43_20a3_a404_5f8becd2239c --> c45110c2_0cb3_5905_33f8_a91c87244198
  79c0964d_f589_f79c_32ac_20f8ee7dc88b["_registry.ts"]
  9ac90965_ea43_20a3_a404_5f8becd2239c --> 79c0964d_f589_f79c_32ac_20f8ee7dc88b
  ceec689a_1334_a657_3c35_094070222b09["schema"]
  9ac90965_ea43_20a3_a404_5f8becd2239c --> ceec689a_1334_a657_3c35_094070222b09
  6802ce19_522d_e5fb_e458_8826d9f6952e["zod"]
  9ac90965_ea43_20a3_a404_5f8becd2239c --> 6802ce19_522d_e5fb_e458_8826d9f6952e
  8fd19e6b_a943_3d85_462b_1c2f8a3309d4["fonts"]
  9ac90965_ea43_20a3_a404_5f8becd2239c --> 8fd19e6b_a943_3d85_462b_1c2f8a3309d4
  style 9ac90965_ea43_20a3_a404_5f8becd2239c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { registryItemSchema, type Registry } from "shadcn/schema"
import { z } from "zod"

import { fonts } from "@/registry/fonts"

import { blocks } from "./blocks/_registry"
import { components } from "./components/_registry"
import { examples } from "./examples/_registry"
import { hooks } from "./hooks/_registry"
import { internal } from "./internal/_registry"
import { lib } from "./lib/_registry"
import { ui } from "./ui/_registry"

export const registry = {
  name: "shadcn/ui",
  homepage: "https://ui.shadcn.com",
  items: z
    .array(registryItemSchema)
    .parse([
      ...ui,
      ...examples,
      ...lib,
      ...components,
      ...blocks,
      ...hooks,
      ...internal,
      ...fonts,
    ]),
} satisfies Registry

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 10 module(s): _registry.ts, _registry.ts, _registry.ts, _registry.ts, _registry.ts, _registry.ts, _registry.ts, fonts, and 2 more.
Where is registry.ts in the architecture?
registry.ts is located at apps/v4/registry/bases/base/registry.ts (domain: ComponentRegistry, directory: apps/v4/registry/bases/base).

Analyze Your Own Codebase

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

Try Supermodel Free