Installation
How to install Better UI components in your project.
It doesn’t matter what framework or package manager you are using. Installing Better UI components is as simple as running the shadcn add
command followed by the URL to the component you want to install. This URL will always be formatted as https://better-ui.ditin.in/r/<component-name>.json
.
The entire install process is handled by the shadcn
CLI tool and works identically to how you would install any other Shadcn component.
Example
Section titled “Example”npx shadcn@latest add https://better-ui.ditin.in/r/loading-button.json
yarn dlx shadcn@latest add https://better-ui.ditin.in/r/loading-button.json
pnpx shadcn@latest add https://better-ui.ditin.in/r/loading-button.json
bunx shadcn@latest add https://better-ui.ditin.in/r/loading-button.json