Registry
A registry in the context of shadcn/ui is a structured collection of components, hooks, and utilities that can be shared and reused across multiple projects. It serves as a centralized source for distributing your design system components in a way that’s compatible with the shadcn-ui CLI.
Why Use a Registry?
Consistent Component Distribution: Ensures all projects using your design system get the same version of components.
For setup, just place this configuration file in your project root:
javascript
How It Works
The registry is a collection of JSON files following shadcn’s schema. Add a component with the following structure:
bash