registry.ts — ui Source File
Architecture documentation for registry.ts, a typescript file in the ui codebase. 11 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR ba3b9605_5e73_3132_6a44_41f20f15f898["registry.ts"] 0a68cb16_fbec_f0ff_62cc_7de51e5795a4["_legacy-themes.ts"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> 0a68cb16_fbec_f0ff_62cc_7de51e5795a4 e7735d93_8866_0e6e_4bce_6ca6fff2c76d["themes"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> e7735d93_8866_0e6e_4bce_6ca6fff2c76d cd8a48a8_ab55_8315_14be_fe2fb77aeaf5["_registry.ts"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> cd8a48a8_ab55_8315_14be_fe2fb77aeaf5 af6e7ad3_9826_5a61_2325_c5ded1e698a3["_registry.ts"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> af6e7ad3_9826_5a61_2325_c5ded1e698a3 70f451a0_d1aa_ec28_188f_06efa1de27e4["_registry.ts"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> 70f451a0_d1aa_ec28_188f_06efa1de27e4 24f68512_5899_ca5c_1748_e46d98907a71["_registry.ts"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> 24f68512_5899_ca5c_1748_e46d98907a71 0d30b4b1_73a0_1f24_22e3_769f22c5d1d7["_registry.ts"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> 0d30b4b1_73a0_1f24_22e3_769f22c5d1d7 d9d5acb1_b8b6_aaa9_05fb_99d56fb26a3c["_registry.ts"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> d9d5acb1_b8b6_aaa9_05fb_99d56fb26a3c f0ba3ed6_395d_ff5d_65fc_9607e01ca367["_registry.ts"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> f0ba3ed6_395d_ff5d_65fc_9607e01ca367 ceec689a_1334_a657_3c35_094070222b09["schema"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> ceec689a_1334_a657_3c35_094070222b09 6802ce19_522d_e5fb_e458_8826d9f6952e["zod"] ba3b9605_5e73_3132_6a44_41f20f15f898 --> 6802ce19_522d_e5fb_e458_8826d9f6952e style ba3b9605_5e73_3132_6a44_41f20f15f898 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { registryItemSchema, type Registry } from "shadcn/schema"
import { z } from "zod"
import { themes } from "../_legacy-themes"
import { blocks } from "./blocks/_registry"
import { charts } from "./charts/_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"
const DEPRECATED_ITEMS = [
"toast",
"toast-demo",
"toast-destructive",
"toast-simple",
"toast-with-action",
"toast-with-title",
]
// Shared between index and style for backward compatibility.
const NEW_YORK_V4_STYLE = {
type: "registry:style",
dependencies: ["class-variance-authority", "lucide-react", "radix-ui"],
devDependencies: ["tw-animate-css", "shadcn"],
registryDependencies: ["utils"],
css: {
'@import "shadcn/tailwind.css"': {},
},
cssVars: {},
files: [],
}
export const registry = {
name: "shadcn/ui",
homepage: "https://ui.shadcn.com",
items: z.array(registryItemSchema).parse(
[
{
name: "index",
...NEW_YORK_V4_STYLE,
},
{
name: "style",
...NEW_YORK_V4_STYLE,
},
...ui,
...blocks,
...charts,
...lib,
...hooks,
...themes,
...examples,
...internal,
].filter((item) => {
return !DEPRECATED_ITEMS.includes(item.name)
})
),
} satisfies Registry
Domain
Dependencies
Source
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 11 module(s): _legacy-themes.ts, _registry.ts, _registry.ts, _registry.ts, _registry.ts, _registry.ts, _registry.ts, _registry.ts, and 3 more.
Where is registry.ts in the architecture?
registry.ts is located at apps/v4/registry/new-york-v4/registry.ts (domain: ComponentRegistry, directory: apps/v4/registry/new-york-v4).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free