Registry
Learn how to use the Space UI Registry with shadcn/ui.
The catalog uses the @spaceui namespace. The shadcn CLI resolves the full alias suffix into the registry URL, so you can install everything from one namespace.
Setup Space UI Registry
Add the Space UI registry namespace to your components.json. Learn more about registry config from shadcn registry docs.
Code
{
"registries": {
"@spaceui": "https://www.spaceui.one/r/{name}.json"
}
}Installing Components
Component examples use the c-* naming pattern and install with no license key or account:
Code
npx shadcn@latest add @spaceui/components-spaceui-c-alert-1Some c-* items pull shared @spaceui/* primitives as registry dependencies. Those supporting files are resolved automatically, so installs keep working out of the box.
On This Page