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.
Important
This template uses Tailwind v4.
This is a template for creating a custom registry using Next.js.
- The template uses a
registry.jsonfile to define components and their files. - The
shadcn buildcommand 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
shadcnCLI. - We have also added v0 integration using the
Open in v0api.
pnpm dlx shadcn@latest search @tcsk
pnpm dlx shadcn@latest add @tcsk/buttonpnpm dlx shadcn@latest search @tcsk-local
pnpm dlx shadcn@latest add @tcsk-local/buttonVisit the shadcn documentation to view the full documentation.