Registry

How the Fujin registry is organised and served.

Fujin is a shadcn registry. It follows the same schema, so the shadcn CLI and MCP server work with it unchanged.

URLContents
/r/registry.jsonRegistry index (shadcn format)
/r/{name}.jsonOne item, with file contents inlined
/r/mcp/index.jsonCompact catalog for agents
/r/mcp/{name}.jsonAgent documentation for one item, no source

Item tiers

TypeTierExample
registry:uiPrimitivesbutton, field
registry:componentCompositesdata-table, form
registry:blockPages and sectionsdashboard-shell
registry:itemRecipes: whole featuresauth

Composites split behaviour from markup: headless hooks go to lib/, markup goes to components/. The item's meta.fujin.editing field says which is which.

On this page