--- title: Registry Directory description: Discover community registries for shadcn/ui components and blocks. --- These registries are built into the CLI with no additional configuration required. To add a component, run: `npx shadcn add @/`. Don't see a registry? Learn how to [add it here](/docs/registry/registry-index). ## Documentation You can use the `shadcn` CLI to run your own code registry. Running your own registry allows you to distribute your custom components, hooks, pages, config, rules and other files to any project.
Getting Started
Set up and build your own registry
Authentication
Secure your registry with authentication
Namespaces
Configure registries with namespaces
Add a Registry
Learn how to add a registry to the directory
Examples
Registry item examples and configurations
Schema
Schema specification for registry.json