GenCN UI

Installation

Learn how to install and configure GenCN-UI in your project

To use GenCN-UI components in your project, you need to configure the registry in your components.json file. Add the registries section to your existing components.json:

Prerequisite: Make sure you have shadcn/ui installed and configured in your project first. For installation instructions, see the shadcn/ui installation guide.

Configuration

{
  "registries": {
    "@gencn-ui": "https://gencn-ui.encatch.com/r/{name}.json"
  }
}

Installing Components

Once you've configured the registry, you can install GenCN-UI components using the shadcn CLI:

npx shadcn@latest add @gencn-ui/gencn-ui-status

Replace gencn-ui-status with the name of the component you want to install.