Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Publishing

Dumb UI ships as a shadcn registry: static JSON served next to the docs. Deploying the site publishes the library.

scripts/build-registry.ts generates registry.json from the component docs, then shadcn build writes one JSON file per item to public/r. The dumb-ui item carries the style tokens and material layer as CSS that the CLI merges into the consumer’s stylesheet.

pnpm registry
# registry.json -> public/r/*.json

The site deploys to Netlify from main. netlify.toml runs the build (examples index, registry, Next.js) and serves /r/* with CORS and short caching so new releases reach the CLI quickly. Every docs page is statically generated.

git push origin main   # Netlify builds and publishes https://ui.1619.in
  • The registry is always the latest release. Version tags in git (v0.2.0) mark releases, and the changelog lists what changed per component.
  • Breaking a token name or a component prop is a minor bump while the version is 0.x, a major bump after 1.0.
  • Because users own their copies, updating is opt-in: re-run shadcn add and review the diff.
pnpm version minor     # bumps package.json and tags
git push --follow-tags