Shadcn Compatibility
Shadcn Compatibility Guide
Section titled “Shadcn Compatibility Guide”Learn how to configure the shadcn CLI to install OrbitUI components and ensure smooth integration with your existing project structure.
Using the shadcn CLI with OrbitUI
Section titled “Using the shadcn CLI with OrbitUI”To use OrbitUI components with the CLI, you must have shadcn/ui already initialized in your project. If you haven’t done this yet, follow the official shadcn/ui installation guide.
Once your project is ready, you can install components by pointing directly to their remote URL:
npx shadcn@latest add https://orbituidocs.vercel.app/shadcn/r/button.jsonRegistry Configuration
Section titled “Registry Configuration”To simplify the process and avoid typing full URLs every time, you can add OrbitUI as a custom registry in your components.json file:
{ "registries": { "@orbitui": "https://orbituidocs.vercel.app/shadcn/r/{name}.json" }}After adding the registry, you can install components using the shorthand syntax:
npx shadcn@latest add @orbitui/button