shadcn namespace
Configure shadcn registry aliases for @diffgazer/ui and @diffgazer/keys.
Note: The hosted registry at https://r.b4r7.dev is live, so the shadcn commands on this page work as written. The npm packages are the other install path: pnpm add -D @diffgazer/add for the dgadd CLI (pnpm exec dgadd add ui/button), or npm install @diffgazer/ui @diffgazer/keys for runtime package mode. See the canonical Consumption Paths section.
The shadcn CLI installs registry items by direct URL, or by namespace once components.json maps each namespace to a registry URL.
Direct URLs use the public registry origin:
Configure both namespaces when you want shorthand for top-level UI and keys installs:
Then install namespaced items:
When a UI source item depends on keys behavior, the published public JSON resolves that dependency through the corresponding keys registry URL.
CSS wiring
Installing the theme item writes an aggregated styles/styles.css at the project root. The ~/ prefix in the registry target resolves from that root. From a CSS entrypoint one directory below it, such as src/index.css or app/globals.css, import the file with:
No per-component CSS import is required: the component CSS ships inside that aggregated styles.css, so components such as Dialog, CommandPalette, Select, Popover, and Tooltip are fully wired once it is imported.