Registry
How Kinetic UI is served and what the shadcn CLI reads when you add an item.
Endpoints
| Path | Contents |
|---|---|
/r/registry.json | Index of every registry item |
/r/{name}.json | One item with its source, dependencies and target paths |
/llms.txt | Short plain-text index for AI tools |
/llms-full.txt | Full reference with install commands and tokens |
Item payload
Each item lists its npm dependencies, the other @kinetic items it needs in registryDependencies and the files to write. Imports inside the source are already rewritten to the paths they land at in your project.
/r/button.json (shortened)
{
"name": "button",
"type": "registry:ui",
"dependencies": [],
"registryDependencies": ["@kinetic/ui-easing", "@kinetic/ui-motion-prefs", "@kinetic/ui-refs"],
"files": [
{
"path": "src/registry/ui/button.tsx",
"type": "registry:ui",
"target": "components/kinetic/ui/button.tsx"
}
]
}Helper libs
Logic that several components share, such as springs, easing, ref merging, dismiss handling and floating positioning, lives in ui-* items under components/kinetic/ui/lib/. You rarely add them by hand: the CLI installs them with the components that need them.