Lexical base rich text editor using shadcn/ui components
The registry-template is a tool that allows users to run their own component registry using the shadcn CLI. By running a custom component registry, users can distribute their custom components, hooks, pages, and other files to any React project. This template is created using Next.js and utilizes a registry.json file to define components and their files. The registry items are served as static files under public/r/[name].json.
registry.json file.To install the registry-template and run your own component registry, follow these steps:
Clone the repository:
git clone [repository-url]
Install dependencies:
npm install
Build the registry using the shadcn CLI:
shadcn build
Serve the registry items as static files:
public/r/[name].json.Visit the shadcn documentation for more details on using the registry.
The registry-template is a tool designed for users to create and run their own custom component registry using the shadcn CLI. It provides features such as the distribution of custom components, compatibility with the shadcn CLI, and integration with the Open in v0 API. With a Next.js template and a registry.json file for defining components, users can easily set up and utilize this tool to distribute custom components, hooks, and pages to any React project. Visit the shadcn documentation for a comprehensive guide on using the registry-template.