What is shadcn/ui?
Free, MIT-licensed set of accessible React components whose source the CLI copies into your app.
Who is shadcn/ui best for?
shadcn/ui is best for React developers who want to build their own component library from code they can edit.
Your own design system
Components land in your codebase as source, so you change a button by editing it rather than overriding a package.
Teams sharing components
The registry schema and CLI let a team publish its own components and install them across projects.
Coding with AI agents
One composable API across components is easy for agents to read, and the MCP server lets them browse and install items.
Dashboards and app screens
Blocks, charts, a sidebar and data tables give admin screens and SaaS apps a consistent starting point.
How much does shadcn/ui cost?
shadcn/ui is free and open source under the MIT licence; there is no paid plan, and every component, block, chart and the CLI cost nothing.
- Every component, block and chart
- CLI and registry to install and share code
- MCP server for coding agents
shadcn/ui has no paid tier and needs no account. The source is on GitHub under the MIT licence, so components can go into commercial and closed-source apps. Full pricing on ui.shadcn.com. We checked these prices on .
How do readers rate shadcn/ui?
No one has rated shadcn/ui yet. Be the first.
Sign in to rate. One rating per account.
Is shadcn/ui open source?
Yes. shadcn/ui's code is public under the MIT licence, so you can read it, change it and run it yourself.
On GitHub
128,026stars
- Last commit
- 12 Nov
- Repository age
- 3 years
- Latest release
- 27 Oct
- Licence
- MIT
- Repository
- shadcn-ui/ui
How do I connect shadcn/ui to my AI agent?
shadcn/ui MCP is shadcn/ui's official MCP server. Add it to your agent once, then ask it to find shadcn/ui components and add them to your project.
Lets your coding agent look through shadcn/ui and other registries, read component code and install the pieces you choose, files and dependencies included.
$ claude mcp add shadcn-ui -- npx shadcn@latest mcp
It runs on your computer, so Claude Code starts it when it needs it.
shadcn/ui's setup guide covers the sign-in.
Then ask your agent
- Runs
- On your computer
- Sign-in
- See guide
- Maker
- shadcn/ui
- Guide
- ui.shadcn.com
What are the best shadcn/ui alternatives?
shadcn/ui is an open source alternative to 21st.dev. Magic UI does the same job and is open source too.
React and Tailwind components, themes and templates that you or your AI coding agent add to a repo.
Open-source set of 150+ animated React components on Tailwind CSS and Motion for landing pages.
React components and app blocks in plain TSX and CSS modules, with a free MIT core and paid Pro set.
Free Tailwind CSS plugin that adds short class names for buttons, cards, modals and site themes.
Open-source React and Tailwind components for dashboards and AI chat apps, with paid Pro templates.
Questions about shadcn/ui
What is shadcn/ui?
Free, MIT-licensed set of accessible React components whose source the CLI copies into your app.
Who is shadcn/ui for?
shadcn/ui is best for React developers who want to build their own component library from code they can edit.
Is shadcn/ui free?
Yes. shadcn/ui has a free Open source plan: every component, block and chart.
Is shadcn/ui open source?
Yes. shadcn/ui's code is public under the MIT licence, so you can read it, change it and run it yourself.
Does shadcn/ui have an MCP server?
Yes. shadcn/ui MCP is shadcn/ui's official MCP server, so agents such as Claude Code, Cursor, Codex and GitHub Copilot can find shadcn/ui components and add them to your project. It runs on your computer.
What are the best shadcn/ui alternatives?
The closest alternatives on Recaply are 21st.dev, Magic UI, Arc UI, daisyUI and BoardUI.
Where can I try shadcn/ui?
On its official website, ui.shadcn.com.
Is shadcn/ui a component library?
Not in the usual sense. Instead of a package you import from, the shadcn CLI copies each component's source into your project, where you edit it freely. Setup guides cover Next.js, Vite, TanStack Start, React Router, Astro and Laravel.
Can AI coding agents use shadcn/ui?
Yes. The shadcn MCP server lets Claude Code, Cursor, VS Code, Codex and OpenCode browse, search and install components from shadcn/ui and any other registry set in your components.json. One command, such as npx shadcn mcp init, sets it up.







