shadcn/ui (GitHub)
Source monorepo for shadcn/ui: components, CLI, registry schema, skills
The upstream monorepo behind shadcn/ui — the component sources, the `shadcn` CLI, the registry schema that every third-party shadcn registry conforms to, plus `templates/` and `skills/` directories for agent tooling. Components are React on top of Radix and Tailwind, distributed as code you copy into your repo rather than a dependency you import. Read this repo when you need the actual implementation, the registry JSON contract, or to file against upstream behaviour.
pnpm dlx shadcn@latest initGo to the repo, not the docs site, when you need the registry JSON schema (you are authoring or validating a custom registry), the exact source of a component you are patching, or the `skills/` and `templates/` directories. For ordinary "add a dialog" work use the CLI against ui.shadcn.com instead — cloning or vendoring from this monorepo gets you a pnpm workspace you do not want. Note that components land as editable files in your repo, so upstream fixes never reach you automatically; re-running `add` overwrites your local edits.
Why it is here. This repo defines the registry contract that most of the modern React UI ecosystem now publishes against, which makes it infrastructure rather than just another library.
- 121k+ GitHub stars
- defines the shadcn registry JSON schema
- ships .claude and .cursor-plugin agent config
- MIT, copy-in-not-import distribution
- templates/ and skills/ directories in-repo
Verified 2026-08-15. HTTP 200. https://github.com/shadcn-ui/ui, https://ui.shadcn.com/docs/components, https://ui.shadcn.com/docs/cli








