Every open source project rebuilds the same screens. Install them instead.
Catalog · Docs · Item Index · Changelog
A shadcn registry of components, blocks, and page templates for the open-source projects SolDevelo works on, plus the catalog site that previews every item live and shows its source.
The registry is multi-project. Every item says which project it belongs to, and the catalog shows that project beside it, so you can always tell where a block came from. OpenLMIS is the first project.
One command copies the source into your repository. There is no wrapper package and no runtime dependency on this site. The code is yours to edit from the first paste.
Any React project with the shadcn CLI configured will do, including a workspace
inside a monorepo. Items are built on Base UI, so your components.json needs a
base-* style, which is the shadcn init default.
Register the namespace once by merging this into the registries object of
your components.json:
{
"registries": {
"@soldevelo": "https://registry.soldevelo.com/r/{name}.json"
}
}Then install any item by name. Names are prefixed with their project:
pnpm dlx shadcn@latest add @soldevelo/openlmis-status-badgeThe CLI also installs the shadcn primitives and npm packages the item depends on. Search and inspect the catalog from the terminal too:
pnpm dlx shadcn@latest search @soldevelo -q "stock"
pnpm dlx shadcn@latest view @soldevelo/openlmis-status-badge| Kind | What it is | Installs to |
|---|---|---|
| Component | One primitive that renders a domain value consistently | components/{project}/{item}.tsx |
| Block | A complete screen region, with layout and dark mode handled | components/blocks/{project}/{item}.tsx |
| Template | A whole page, shipped with editable copies of every section in it | app/{item}/page.tsx + components/{project}/{item}/* |
Every item is previewed live in the catalog at
/components,
/blocks and
/templates, with its source beside
the preview. REGISTRY.md is the full index, regenerated from
the registry on every build.
OpenLMIS:
an open-source electronic logistics management information system for public
health supply chains. Requisition, stock and facility screens.
Every project renders in the same SolDevelo theme. A project's own colours appear only in its logo, so items from different projects sit together without clashing.
The catalog is machine readable, not just browsable.
llms.txtsummarises every item for LLM crawlers.REGISTRY.mdis the same index for humans and coding agents working in a checkout.- The shadcn MCP server reads the registries in your
components.json, so once the namespace is registered your agent can search and install from it:
pnpm dlx shadcn@latest mcp init --client claudeSwap claude for cursor, vscode or codex as needed.
pnpm install
pnpm dev| Command | What it does |
|---|---|
pnpm dev |
Dev server on localhost:3000 |
pnpm build |
Production build, type-checked |
pnpm lint |
oxlint, including the @shadcn/lint design-system rules |
pnpm typecheck |
next typegen && tsc --noEmit (TypeScript 7) |
pnpm format |
Oxfmt, with Tailwind class sorting |
pnpm registry:build |
Regenerate every derived registry artifact |
pnpm registry:check |
Rebuild and fail if the committed artifacts are stale |
The registry has one authored source of truth and several generated outputs:
registry/registry-items.ts AUTHORED the only place an item is declared
registry/{components,blocks,templates}/** AUTHORED the source files
│
│ pnpm registry:build
▼
config/{components,blocks,templates}.ts GENERATED site data with embedded source
registry.json GENERATED input for `shadcn build`
public/r/*.json GENERATED what the shadcn CLI installs
REGISTRY.md, public/llms.txt GENERATED catalog indexes
Generated files are committed and never edited by hand. pnpm registry:check
fails CI if they drift from the source.
PRODUCTION_URL in config/site.ts is the origin baked into canonicals and the
committed artifacts. It is a constant rather than an env var so that a local
pnpm registry:build can never publish localhost URLs. Preview deploys
override it with NEXT_PUBLIC_SITE_URL.
- Write the source under
registry/{components,blocks,templates}/{project}/{item}/, with apage.tsxbeside it that the catalog previews. - Declare it in
registry/registry-items.ts. Thenamemust be{project}-{item}andmeta.projectmust match. - Run
pnpm registry:build, thenpnpm lint && pnpm typecheck. - Load the preview, measure its height, and set
meta.heightto it. - Commit the source together with the regenerated artifacts.
Item source must be copy-pasteable: shadcn primitives, declared npm packages,
its own sibling files and other items imported through @/registry/...,
nothing else. A new project is an entry in
config/projects.ts plus a square logo at public/projects/{id}.png, and gets
its own page at /projects/{id}.
CLAUDE.md has the full conventions, including the design-system
rules the linter enforces.
Next.js 16 (App Router) · React 19 · TypeScript 7 · Tailwind CSS v4 ·
shadcn/ui on Base UI · Motion · oxlint with @shadcn/lint · Oxfmt
Issues and pull requests are welcome. Read an item's source, edit it, or send a pull request that adds your own. Commits follow Conventional Commits.
MIT. Copyright SolDevelo.