Registry
BharatUI Registry
Our component registry is live! The registry url for any BharatUI component can be found by using the following syntax:
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:
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:
-
Initialize shadcn using the
init
command in your project:Terminal window npx shadcn@latest init -
Lets import the button component from BharatUI Registry:
Terminal window npx shadcn@latest add https://registry.bharatui.com/r/bharat-button.json