A shadcn registry. Add the namespace to your components.json:
{
"registries": {
"@alvkit": "https://alv-ui-kit.pages.dev/r/{name}.json"
}
}
Then install an item:
npx shadcn@latest add @alvkit/stat-card
| Item | Type | Description | JSON |
|---|---|---|---|
tokens |
registry:theme | CSS custom properties the alvkit components read. Installed on its own or pulled in as a dependency of stat-card. | /r/tokens.json |
button |
registry:ui | Button with variant and size scales. Carries npm dependencies so the CLI has something to install. | /r/button.json |
use-counter |
registry:hook | Clamped counter hook. A non-UI item, so it lands at the hooks alias rather than the ui alias. | /r/use-counter.json |
stat-card |
registry:ui | Metric card. Depends on shadcn's own card, on this registry's button, and on this registry's tokens. | /r/stat-card.json |