Installation
Add components from the shadcn UI SDK registry with the shadcn CLI.
Prerequisites
Use a project with React 19 and Tailwind CSS v4. If you need to set up shadcn/ui, follow the official shadcn/ui installation guide for your framework.
Configure the namespace
Add the @ui-sdk entry under registries in your components.json. Use this site’s origin, including its scheme and any port, and leave {name} in the URL so the CLI can substitute the component name.
components.json
1{2"registries": {3"@ui-sdk": "<docs-site-origin>/r/{name}.json"4}5}
Install a component
Replace component-name with the name of the component you want to install.
pnpm dlx shadcn@latest add @ui-sdk/component-name