CLI
Use the command line to add Jolly-UI components to your application.
Add components from CLI
There are two ways to add components to your project using the CLI.
-
Using the components URL. (Note you will need to specify the style, e.g
https://jollyui.dev/new-york/button
) -
Using the
REGISTRY_URL
environment variable.
Using the components URL (Recommended)
NPM
PNPM
Bun
Yarn
npx shadcn@latest add https://jollyui.dev/default/button
Using the REGISTRY_URL
environment variable
NPM
PNPM
Bun
Yarn
REGISTRY_URL=https://jollyui.dev/r npx shadcn@latest add button