Skip to content
shadcn/ui (GitHub)

shadcn/ui (GitHub)

Source monorepo for shadcn/ui: components, CLI, registry schema, skills

Tier S · Best in classRegistryComponent LibraryPrimitivegithub.com

Preview image from github.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.

Install
pnpm dlx shadcn@latest init

For 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.

Install command, framework, licence and component list.

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 total

Helps you build

15

Notable 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
github.comTier S