Getting Started

Understand the package-local manifest and React registry build flow.

The React registry is assembled from the package-local registry definitions in packages/react/src/registry/* and published under apps/react/public/r.

Consumer setup

Projects that install Tile UI through the shadcn CLI should register the Tile UI namespace in components.json:

{
	"registries": {
		"@tile-ui": "https://react.tileui.zmorg.cn/r/{name}.json"
	}
}

Once configured, registry dependencies such as @tile-ui/core and @tile-ui/utils resolve without hardcoding the docs site domain into each item payload.

Build flow

corepack pnpm registry:build:react

What is included

  • React component sources
  • SCSS files from the shared design system
  • Hooks and utility helpers

The docs site reads the published registry metadata from apps/react/public/r/registry.json, so the site and the public registry stay aligned.