shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
74.05k stars 4.56k forks source link

[feat]: Example of custom registry usage #5226

Open RegiByte opened 1 month ago

RegiByte commented 1 month ago

Feature description

Hey can we get an example or documentation about how to use a custom registry with the CLI to install components from a custom design system?

Affected component/components

No response

Additional Context

Inspired by Jack Herrington's latest video: https://www.youtube.com/watch?v=NP2ULDZxpd0

Basically, he created a tool that semi-automatically creates a registry of components based on a git repo history

I would like to know if we can have an official way of doing this, I'm pretty sure a LOT of people would benefit from this. I believe it would be similar to what is being done on v0 with the generated components.

Let me know if I can help on this!

Before submitting

lucafaggianelli commented 2 weeks ago

nice video, well apparently the key is using shadcn-differ to create the JSON manifest