registry-item.json — ui Source File
Architecture documentation for registry-item.json, a json file in the ui codebase.
Entity Profile
Source Code
{
"$schema": "https://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the item. This is used to identify the item in the registry. It should be unique for your registry."
},
"type": {
"type": "string",
"enum": [
"registry:lib",
"registry:block",
"registry:component",
"registry:ui",
"registry:hook",
"registry:theme",
"registry:page",
"registry:file",
"registry:style",
"registry:base",
"registry:font",
"registry:item"
],
"description": "The type of the item. This is used to determine the type and target path of the item when resolved for a project."
},
"description": {
"type": "string",
"description": "The description of the item. This is used to provide a brief overview of the item."
},
"title": {
"type": "string",
"description": "The human-readable title for your registry item. Keep it short and descriptive."
},
"author": {
"type": "string",
"description": "The author of the item. Recommended format: username <url>"
},
"dependencies": {
"type": "array",
"description": "An array of NPM dependencies required by the registry item.",
"items": {
"type": "string"
}
},
"devDependencies": {
"type": "array",
"description": "An array of NPM dev dependencies required by the registry item.",
"items": {
"type": "string"
}
},
"registryDependencies": {
"type": "array",
"description": "An array of registry items that this item depends on. Use the name of the item to reference shadcn/ui components and urls to reference other registries.",
"items": {
"type": "string"
}
},
"files": {
// ... (251 more lines)
Source
Frequently Asked Questions
What does registry-item.json do?
registry-item.json is a source file in the ui codebase, written in json.
Where is registry-item.json in the architecture?
registry-item.json is located at apps/v4/public/schema/registry-item.json (directory: apps/v4/public/schema).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free