Skip to content

Add Opalus UI

Opalus UI uses the shadcn registry format and supports projects configured with either Base UI or Radix.

Choose your preferred component base when creating components.json:

Terminal window
pnpm dlx shadcn@latest init --base base

Use --base radix instead if your project uses Radix. Opalus UI resolves the matching shadcn dependencies automatically.

Add the production registry to components.json:

{
"registries": {
"@opalus-ui": "https://opalus-ui.aquamarinez.com/r/{name}.json"
}
}

The install command is the same for Base UI and Radix projects:

bash
pnpm dlx shadcn@latest add @opalus-ui/surface