Skip to content
KaUI is under active development. If you run into a bug, please open an issue.

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.

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

pnpm dlx shadcn@latest add
https://kaui-registry.vercel.app/r/{component-name}.json

Or register @kaui as namespace one and use the short long

pnpm dlx pnpm dlx shadcn@latest registry add @kaui="https://kaui-shadcn-registry.vercel.app/r/{name}.json"

This command will registry the namespace for your project and from now on , component can be add with

pnpm dlx shadcn@latest add @kaui/async-button

You can view my Open Pull Request to see the progress, sorry for the unconvinience

Run the add command with the component name:

pnpm dlx shadcn@latest add @kaui/async-button

If the short registry name doesn’t resolve on your setup, pass the component’s direct JSON URL instead:

pnpm dlx shadcn@latest add https://kaui-shadcn-registry.vercel.app/r/async-button.json