shadcn/ui: The Component Library You Own, Not Install
Most UI kits arrive as a package you import and then fight with. shadcn/ui takes a different path: it hands you the actual component code and lets you make it your own. The repo has more than 128,000 stars and 11,000 forks on GitHub, and it is MIT-licensed.
What it is
The project describes itself as a set of beautifully designed, accessible components and a code distribution platform. Its docs put it plainly: "This is not a component library. It is how you build your component library." Instead of wrapping a third-party button or overriding its styles, you copy the button's source into your app and edit it directly.
Key features
- Open code. The top layer of every component lives in your project, so you can see exactly how it works and change any part of it.
- Composition. Every component shares a common, composable interface, so you are not learning a new API for each one.
- Distribution. A flat-file schema and a command-line tool let you install components across projects, or share your own.
- Beautiful defaults. Carefully chosen styles give you a clean, consistent look before you customize anything.
- AI-ready. Because the code is open and consistent, AI models can read it, suggest improvements, and generate new components that fit your design system.
Why it matters
Traditional component libraries work well until your design needs something they did not plan for. Then you end up with wrappers, style overrides, and mismatched APIs from several libraries. shadcn/ui avoids that by making the code yours from day one. It suits front-end developers building a design system, solo builders who want a polished UI fast, and teams who pair with AI coding agents and want components those agents can understand.
Getting started
The quickest route is shadcn/create, which lets you build a preset visually and generates a setup command for Next.js, Vite, Laravel, React Router, Astro, or TanStack Start. From the terminal, run pnpm dlx shadcn@latest init to set up an existing project, then add components one at a time with pnpm dlx shadcn@latest add [component]. The installation guide covers each framework step by step.
View the repo on GitHub: github.com/shadcn-ui/ui
ui.shadcn.com | Docs | CLI Reference
