Shadcn CLI
The Shadcn CLI helps you initialize your project and add components directly from the official registry or from ui.sanjid.shop
via registry item URLs.
Install / Run
Run the CLI with your preferred package manager:
Initialize your project
This will create a components.json
file and install the required dependencies for your project.
Add components from the official registry
Example: adding multiple components in a single command:
Add components from ui.sanjid.shop
You can install components from this hub by pointing the CLI to the registry item JSON.
Notes
- You can pass multiple items in one command or run the command repeatedly for different items.
- The CLI will place files into the correct targets (e.g.
components/ui
,pages
,hooks
, orlib
) as defined by the registry item.
Thanks to shadcn
Without shadcn CLI, this would not be possible.
Build your next big idea with us
From lightning-fast landing pages to fully functional SaaS products, we turn your vision into reality. Book a call today and let's make something extraordinary.
“They transformed our idea into a fully functional product in record time. Couldn't be happier!”
Alex Chen
Founder, StartupX
“The team's attention to detail and design expertise set our product apart in the market.”
Sarah Kim
CTO, Innovate Inc