shadcn/ui
shadcn/ui is an open-source set of React interface components, plus a command-line tool for distributing them, created by the developer known as shadcn and launched in January 2023.[7] Instead of installing a component package from npm, you use its CLI to copy the source code of each component, styled with Tailwind CSS, into your own project, where you can change it freely.[1][3] The code is released under the MIT license.[2]
What does shadcn/ui mean in simple terms?
Building a design system from scratch is hard. shadcn/ui gives you a ready-made set of well-designed parts — more than 60 components listed in its docs, including buttons, dialogs, tables, forms and charts — that you take into your own code.[1] The unusual part is how you get them: a command such as npx shadcn add button writes the button's code into your project, so it becomes your code rather than an opaque component implementation in an external package.[1][3] Vercel's AI interface builder v0 also produces code using shadcn/ui.[4] In the State of React 2024 survey, the share of respondents who had used shadcn/ui rose from 20% to 42% in one year.[5]
How can shadcn/ui be explained with an analogy?
shadcn/ui is like a free set of furniture plans. You can build each piece exactly as drawn, or change the colour, size and handles to fit your own room, because the plans are now yours.[1]
Where is shadcn/ui used?
Vercel v0 — Default building blocks for AI-generated screens
Vercel introduced v0 in 2023 as a tool that turns a text description into a user interface. Its October 2023 beta announcement explains that v0 produces code using open-source tools such as React, Tailwind CSS and shadcn/ui, and that users copy the result into their own app and keep developing from there.[4] Vercel said 100,000 people joined the waitlist in three weeks.[4] Because the output uses the same components a developer can install, AI-generated screens and hand-written screens can share one visual system.
Result: v0 output is built on shadcn/ui components that can be pasted into a real project (Vercel, 2023).[4]
State of React 2024 — Fast growth among React developers
The State of React 2024 survey by Devographics tracks which component libraries respondents have used. It reports that shadcn/ui usage doubled from 20% to 42% in a year and that shadcn/ui topped the positivity ranking at 80%, while MUI still ranked first for usage.[5] The data shows rapid adoption, but also that older libraries remain widely used.
Result: Usage 20% → 42% among survey respondents (2023 → 2024); MUI still first for usage.[5]
shadcn/ui team — Migrating components with a coding agent (project-reported test)
In July 2026 shadcn/ui made Base UI the default foundation for new projects, while keeping Radix fully supported.[7] For teams that want to switch, it published a migration "skill" that coding agents such as Claude Code or Cursor can use, moving one component at a time and leaving a report per component.[7] The team says it tested the skill on real projects with 60+ components, 36 of them on Radix; a full migration took about 25 minutes at roughly 10,000 tokens per component.[7]
Result (project-reported): About 25 minutes for a full migration in the team's test.[7]
Why teams choose it
First, open code. You get the actual component code, so you can edit a button directly instead of wrapping or overriding a library component.[1]
Second, it is built to work with AI tools. The docs describe the code as "AI-ready", the CLI 3.0 release added an MCP server so AI assistants can find and install components from registries, and the project ships skills for coding agents.[1][6][7]
Third, it is free to use. The repository is MIT-licensed, which allows commercial use.[2]
Try it today
- In a test project, run
npx shadcn init. Since July 2026, new projects use Base UI by default; add-b radixif you prefer Radix.[7] - Add two components (for example, button and card), open the generated files and change one style yourself.
- Set your brand colours through the theme's CSS variables so every component follows them.[3]
- If several projects share components, publish them as a private registry that the CLI can install from.[6]
- Ask your AI coding tool to build new screens only from the components already in your project, and review the result.
Limits and direction
Because the code is copied into your project, updates do not arrive automatically. The project's own guide says you need to apply upstream changes yourself, with help from the CLI.[3] shadcn/ui targets React and Tailwind CSS, so teams on other stacks will get less from it.[1] Using it also does not create a design system by itself: brand rules, tokens and usage guidelines are still your team's job. The project keeps changing quickly, for example moving its default from Radix to Base UI in 2026, so check the current docs before standardising.[7]
How has shadcn/ui evolved?
Which concepts are related to shadcn/ui?
- FoundationTailwind CSSshadcn/ui components are styled with Tailwind CSS.[1][3]
- ExampleDesign SystemA widely used open-source starting point for building your own design system.[1][5]
Which sources explain shadcn/ui?
- shadcn/ui — Introduction (docs, checked 2026-10-13) — https://ui.shadcn.com/docs
- GitHub — shadcn-ui/ui repository (MIT license; checked 2026-10-13) — https://github.com/shadcn-ui/ui
- shadcn/ui — June 2023: New CLI, Styles and more (2023-06) — https://ui.shadcn.com/docs/changelog/2023-06-new-cli
- Vercel — Announcing v0: Generative UI (2023-10-11) — https://vercel.com/blog/announcing-v0-generative-ui
- Devographics — State of React 2024: Component Libraries — https://2024.stateofreact.com/en-US/libraries/component-libraries/
- shadcn/ui — August 2025: shadcn CLI 3.0 and MCP Server (2025-08) — https://ui.shadcn.com/docs/changelog/2025-08-cli-3-mcp
- shadcn/ui — July 2026: Base UI as the Default (2026-07) — https://ui.shadcn.com/docs/changelog/2026-07-base-ui-default
Tell us what you think
Your feedback helps us improve the content.