https://github.com/shadcn-ui/registry-template
A template for running your own registry.
https://github.com/shadcn-ui/registry-template
Last synced: 16 days ago
JSON representation
A template for running your own registry.
- Host: GitHub
- URL: https://github.com/shadcn-ui/registry-template
- Owner: shadcn-ui
- License: mit
- Created: 2025-01-16T18:41:22.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-13T14:32:07.000Z (about 1 month ago)
- Last Synced: 2025-03-29T10:05:00.135Z (23 days ago)
- Language: TypeScript
- Size: 37.1 KB
- Stars: 162
- Watchers: 2
- Forks: 22
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- stars - registry-template - ui | 199 | (TypeScript)
README
# registry-template
You can use the `shadcn` CLI to run your own component registry. Running your own
component registry allows you to distribute your custom components, hooks, pages, and
other files to any React project.## Getting Started
This is a template for creating a custom registry using Next.js.
- The template uses a `registry.json` file to define components and their files.
- The `shadcn build` command is used to build the registry.
- The registry items are served as static files under `public/r/[name].json`.
- The template also includes a route handler for serving registry items.
- Every registry item are compatible with the `shadcn` CLI.
- We have also added v0 integration using the `Open in v0` api.## Documentation
Visit the [shadcn documentation](https://ui.shadcn.com/docs/registry) to view the full documentation.