Skip to content

Registry API

znverse publishes its installable effects as static JSON in the shadcn registry format. Any tool that understands that format can read it.

Endpoints

URLReturns
/r/registry.jsonThe index of every installable effect, without file contents
/r/<effect>.jsonOne effect with the contents of every file
/r/kits/<kit>.jsonA kit that depends on its installable effects

The files are generated when the site is built, are served with Access-Control-Allow-Origin: *, and are cached for a few minutes. Unknown names return 404.

Effect item

json
{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "tilt-card",
  "type": "registry:component",
  "title": "Tilt Card",
  "description": "A card that tilts in 3D toward the pointer on hover.",
  "dependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/tilt-card/TiltCard.tsx",
      "type": "registry:file",
      "target": "components/znverse/tilt-card/TiltCard.tsx",
      "content": "…"
    }
  ],
  "docs": "import { TiltCard } from \"@/components/znverse/tilt-card/TiltCard\";",
  "meta": {
    "slug": "tilt-card",
    "version": "1.0.0",
    "framework": "react",
    "homepage": "https://znverse.vercel.app/effects/tilt-card",
    "importPath": "@/components/znverse/tilt-card/TiltCard",
    "cdnDependencies": []
  }
}
FieldMeaning
dependenciesnpm packages as name@range. Empty for HTML effects, which load libraries from a CDN
files[].targetWhere the file goes. Paths starting with ~/ are relative to the project root; the others go under src/ when the project has one
docsThe import line, or where HTML files land
meta.importPathThe module to import, or null
meta.cdnDependenciesLibraries an HTML effect loads from a CDN

Kit item

A kit has no files of its own. It lists its installable effects as registryDependencies, and installers fetch those in turn:

json
{
  "name": "landing-page",
  "type": "registry:block",
  "registryDependencies": [
    "https://znverse.vercel.app/r/hello-intro.json",
    "https://znverse.vercel.app/r/spotlight-card.json"
  ],
  "files": [],
  "meta": {
    "effects": ["hello-intro", "spotlight-card"],
    "skipped": ["pricing-page"]
  }
}

meta.skipped names the members that must be copied by hand.

What is published

Only free effects whose files are plain text and stay inside their own folder are published. Premium effects, full-project effects and effects with images or shared imports are left out. See Installation.