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
shadcn/ui popularity
Downloads from api.npmjs.org, stars and forks from GitHub, checked Oct 22, 2026. How the Gid Score is calculated.
Rules for your agent
Copied.
- 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
| License | MIT |
|---|---|
| Commercial use | Commercial 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... |
| Credit | No 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 game | Can ship inside your app Same clause as quoted for commercial use. |
| AI training | Not stated |
| Bots and bulk downloads | Not stated |
| Rules |
|
Connect it to an agent
| How an agent gets files | npx 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 formats | html, css, json |
| Not allowed |
|
| MCP server | Official: https://ui.shadcn.com/docs/mcp |
| API | No public API: download by hand |
| npm | npm install shadcn |
| In AI-agent projects | shadcn is in 273 of 4,828 JavaScript projects (5.7%) in our scan of repos set up for AI coding agents. |
| GitHub | shadcn-ui/ui |
Use it in your stack
pnpm dlx shadcn@latest init
pnpm dlx shadcn@latest add buttonFrom the official docs: ui.shadcn.com/docs/installation/next
// 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
| Free | Fully free. |
|---|---|
| Paid from | — |
| Usage price | — |
| Good to know | Not 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
| Pick for your agent | Source | Price | License | 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 | MCPdaisyui |
|
| 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 | MCPflowbite |
|
| 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 | MCPpreline |
|
| 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 |