Registry Installation
Install components with the shadcn CLI from wancraft.my/r.
The registry endpoint
Every component is published as a shadcn-compatible registry item at https://wancraft.my/r/<slug>.json. The index of all items lives at /r/registry.json. Items contain the complete source and the npm dependencies.
Verified
Installation withshadcn@latest was tested against a fresh Next.js project on 2026-10-13.Project setup
The CLI needs a components.json. If your project does not have one yet:
npx shadcn@latest initAdd by URL
npx shadcn@latest add https://wancraft.my/r/spotlight-card.jsonOptional: a @wancraft namespace
Register Wancraft once in your components.json to use short names:
components.json
{
"registries": {
"@wancraft": "https://wancraft.my/r/{name}.json"
}
}npx shadcn@latest add @wancraft/spotlight-cardWhat the CLI changes
- Writes
components/ui/<slug>.tsx(following youruialias). - Installs the listed npm dependencies with your package manager.
- Nothing else — no CSS variables, no config changes.