Skip to content
Agents tracked: 444 Releases (7d): 644 Agent status: 4 with issuesSince last limit reset: Claude 31d · Codex 3d Updated Oct 23, 2026

shadcn/ui by shadcn

minimalmonochromeflat agent.md for AI agents

Open-source set of accessible React components and blocks that you copy into your own codebase through a CLI and registries.

UI kits and website templates Open source

Is shadcn/ui free for commercial use? Yes →

Price
Free
Fully free.
Commercial use
Yes
MIT
Credit the author
Not needed
No credit needed
Agent access
Official MCP server

shadcn/ui popularity

Gid Score
78 /100
same scale as developer tools
GitHub stars
126K
13.3K forks · shadcn-ui/ui
Downloads
7.5M
npm, last 7 days, shadcn · +33.4% in 4 weeks
Used in agent projects
273
shadcn in our scan
shadcn/ui: downloads per weeknpm, shadcn 7,450,390
shadcn/ui: GitHub starsshadcn-ui/ui 126,199

Downloads from api.npmjs.org, stars and forks from GitHub, checked Oct 22, 2026. How the Gid Score is calculated.

Rules for your agent

- shadcn/ui (UI kits and website templates). Open-source set of accessible React components and blocks that you copy into your own codebase through a CLI and registries. Price: free; commercial use OK; no credit needed. Style: minimal, monochrome, flat.
  Connect: official MCP server https://ui.shadcn.com/docs/mcp; npm shadcn.
  Get files: npx shadcn@latest init, then npx shadcn@latest add <component or block>; official MCP: pnpm dlx shadcn@latest mcp init --client claude (html, css, json).
  Not allowed: Needs React and Tailwind CSS
  Not allowed: Third-party registry items carry their own licences
  Rule: Keep the MIT notice if you redistribute the code.
  Rule: Third-party registries listed in the directory have their own licences; check each.
  License: https://raw.githubusercontent.com/shadcn-ui/ui/main/LICENSE.md (checked 2026-10-21; details: https://agentgid.com/assets/shadcn-ui/)

Paste it into your prompt or AGENTS.md. It is built from the license and API terms below.

License

LicenseMIT
Commercial useCommercial use OK
“Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software” raw.githubusercontent.com/shadcn-ui/ui/main/L...
CreditNo credit needed
“The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” raw.githubusercontent.com/shadcn-ui/ui/main/L...
Inside your app or gameCan ship inside your app
Same clause as quoted for commercial use.
AI trainingNot stated
Bots and bulk downloadsNot stated
Rules
  • Keep the MIT notice if you redistribute the code.
  • Third-party registries listed in the directory have their own licences; check each.

Connect it to an agent

How an agent gets filesnpx shadcn@latest init, then npx shadcn@latest add <component or block>; official MCP: pnpm dlx shadcn@latest mcp init --client claude. · no sign-in
File formatshtml, css, json
Not allowed
  • Needs React and Tailwind CSS
  • Third-party registry items carry their own licences
MCP serverOfficial: https://ui.shadcn.com/docs/mcp
APINo public API: download by hand
npmnpm install shadcn
In AI-agent projectsshadcn is in 273 of 4,828 JavaScript projects (5.7%) in our scan of repos set up for AI coding agents.
GitHubshadcn-ui/ui

Use it in your stack

Next.js Existing Next.js project; init writes components.json. Docs show pnpm dlx; npx shadcn@latest is the npm equivalent.
pnpm dlx shadcn@latest init
pnpm dlx shadcn@latest add button

From the official docs: ui.shadcn.com/docs/installation/next

Next.js Usage after `add button`.
// app/page.tsx
import { Button } from "@/components/ui/button"

export default function Home() {
  return (
    <div className="flex min-h-svh items-center justify-center">
      <Button>Click me</Button>
    </div>
  )
}

From the official docs: ui.shadcn.com/docs/installation/next

Pricing

FreeFully free.
Paid from—
Usage price—
Good to knowNot a package: code is copied into the project.

Sources

Read on Oct 21, 2026: ui.shadcn.com/docs, ui.shadcn.com/docs/mcp, raw.githubusercontent.com/shadcn-ui/ui/main/LICENSE.md.

Not confirmed: Install steps page (/docs/installation) not read; command taken from the MCP page and CLI convention.

Not legal advice. Check the license page before you ship.

Alternatives to shadcn/ui

All ui kits and website templates

Pick for your agentSourcePriceLicense Agent access
daisyUI
Free Tailwind CSS plugin that adds semantic component class names (btn, card, ...) and themes; paid templates, charts and a Figma library are sold in a separate store.
colorfulplayfulflat
Used in 60 AI-agent projects (1.2% of JS)
Free tier Commercial OK No credit MCP
daisyui
HeroUI
Open-source React UI components built on React Aria and Tailwind CSS v4, with a CLI, llms.txt and an MCP server.
minimalflatcolorful
Used in 18 AI-agent projects (0.4% of JS)
Free Commercial OK MCP
@heroui/react
Flowbite
Open-source Tailwind CSS component library (MIT) with copy-paste HTML components, plugin JS and framework guides; a paid Flowbite Pro adds blocks and templates.
minimalflatcorporate
Used in 9 AI-agent projects (0.2% of JS)
Free tier Commercial OK No credit MCP
flowbite
Magic UI
Copy-and-paste animated React/Tailwind components for landing pages, installable via the shadcn CLI; a paid Pro adds templates and premium components.
gradientcolorfulminimal
Free tier Commercial OK No credit MCP
Tremor
Open-source React and Tailwind components for charts and dashboards (copy-paste or @tremor/react), plus blocks and templates at blocks.tremor.so.
minimalcorporateflat
Used in 6 AI-agent projects (0.1% of JS)
Free Commercial OK npm
@tremor/react
HyperUI
Free, open-source Tailwind CSS v4 components for marketing sites, web apps and eCommerce; copy the markup from the site and paste it into a project.
minimalflat
Free Commercial OK No credit Download
Preline UI
Open-source Tailwind CSS component set (npm package preline) with free components and blocks; a paid Preline Pro adds premium blocks and templates.
minimalcorporateflat
Free tier Commercial: conditions Credit varies MCP
preline
Cruip
Tailwind CSS landing-page, SaaS and admin dashboard templates (Next.js, React, Vue, Laravel, Figma); a few are free, most are premium.
gradientminimalcorporate
Free tier Commercial OK No credit Download