Installation
How to add KaUI components to your project using the shadcn CLI.
KaUI components are installed the same way as any shadcn component — using the shadcn CLI. No extra setup needed if you already have shadcn/ui configured.
First Step
Section titled “First Step”It’s take longer than expect for my registry to be added to shadcn index. Before it’s got publish , unfortunately you will have to either
With long json form
Or register @kaui as namespace one and use the short long
This command will registry the namespace for your project and from now on , component can be add with
You can view my Open Pull Request to see the progress, sorry for the unconvinience
Adding a component
Section titled “Adding a component”Run the add command with the component name:
Direct URL fallback
Section titled “Direct URL fallback”If the short registry name doesn’t resolve on your setup, pass the component’s direct JSON URL instead: