The essentials

Registry

Source code with a machine-readable map.

Static endpoints

The website publishes r/registry.json and individual item files such as r/accordion.json. These are static files generated from canonical source, not a server API.

Schema

Items use the shadcn registry schema: registry:block, registry:ui, registry:style, and registry:file. Additional Blocks UI information lives under meta, rather than introducing incompatible top-level types. Files include explicit installation targets and contents.

Dependencies

Blocks depend on the foundation registry item for shared tokens and base styles. The generator rejects missing and circular registry dependencies.

Generate

npm run registry

The normal documentation build generates the registry automatically. The source CLI supports plain HTML/CSS/JS targets without requiring a React/Tailwind-oriented project setup.

Trust boundary

Registry code is executable. Inspect sources and use registries you trust. Installation path validation is not a substitute for source review.

Edit this page on GitHub

Search documentation

Search the docs, components, and blocks. Use Tab to select a result.