Directory
Registries you can install slintcn components from. Add yours with a PR to
registry/directory.json.
Registries
How it works
slintcn isn't tied to a single registry. Any host serving a registry.json
+ per-item r/<name>.json files (the shape slintcn build emits) is a
valid registry. Wire it into your project's slintcn.json:
{
"style": "default",
"registries": {
"default": "https://zero-sq.github.io/slintcn/r",
"acme": "https://acme.dev/slintcn"
}
}Then install with the namespace prefix:
slintcn add @acme/button-pro
slintcn add https://example.com/registry/r/special.json # direct URL also worksList yours
Open a PR that adds an entry to
registry/directory.json:
{
"namespace": "yours",
"title": "Your registry",
"description": "What it offers in one line.",
"url": "https://yours.example/r",
"homepage": "https://yours.example",
"repo": "https://github.com/you/yours",
"maintainer": "you",
"license": "MIT",
"components": 12,
"blocks": 2,
"tags": ["light", "minimal"]
}