shadcn/ui (GitHub)
Source monorepo for shadcn/ui: components, CLI, registry schema, skills
Tier S · Best in classRegistryComponent LibraryPrimitivegithub.com

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 initFor an agent
Go 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.
Facts
- License
- MIT
- Pricing
- Free, Open source
- Framework
- React, Next.js, Remix, Astro, Vanilla JS
- Styling
- Tailwind CSS v4, Tailwind CSS v3, CSS custom properties
- Distribution
- GitHub repository, shadcn registry, CLI installer, Copy-paste snippet, npm package
- Platform
- Web
- Content type
- Code, Design tokens / theme files
- Agent readiness
- Machine-readable registry item, CLI installable, Readable open source, Agent skill or rules pack, Copy-paste ready code, Structured documentation
- Accessibility
- Built on accessible primitives, Full ARIA pattern implemented, Keyboard navigable, Focus management and visible focus
- Maturity
- Actively maintained
- GitHub stars
- 121,400
- Package
- shadcn
Components it ships
64 totalHelps you build
15Notable for
- 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
Provenance
Verified 2026-08-15. HTTP 200. https://github.com/shadcn-ui/ui, https://ui.shadcn.com/docs/components, https://ui.shadcn.com/docs/cli
Also in Component Libraries
6- Ark UI · 49 headless components with one API across React, Vue, Solid and Svelte
- Astryx · Meta's open-source React + StyleX design system, 150+ components and 42 templates
- Chakra UI · 114 accessible React components with a token-driven styling system
- Coss UI · Cal.com's design system: 60 Base UI primitives shipped as a shadcn registry
- daisyUI · 68 pure-CSS Tailwind components as semantic class names, MIT, with 35 built-in themes
- GPUI Component · 60+ Rust desktop UI components for GPUI, with a 200K-line code editor and charts