Skip to content

Registry

BharatUI Registry


Our component registry is live! The registry url for any BharatUI component can be found by using the following syntax:

Terminal window
https://registry.bharatui.com/r/bharat-<component-name>.json

For example, our button component can be found on the registry using the below registry url:

Terminal window
https://registry.bharatui.com/r/bharat-button.json

shadcn CLI Support


BharatUI components can be easily imported into your project using the shadcn CLI.

Here’s an example demonstrating how to add the button component using shadcn CLI:

  1. Initialize shadcn using the init command in your project:

    Terminal window
    npx shadcn@latest init
  2. Lets import the button component from BharatUI Registry:

    Terminal window
    npx shadcn@latest add https://registry.bharatui.com/r/bharat-button.json