talira

shadcn/ui

The Foundation for your Design System

open sourceMITself-hostablefreeMCP

shadcn/ui is a set of accessible, styled React components that you don't install as a dependency: the shadcn CLI copies each component's source into your project, so you own and edit the code. Components are built with TypeScript and Tailwind CSS on a base library you choose, Base UI (the default for new projects since July 2026), Radix or React Aria, and come with blocks, themes, dark mode and RTL support for Next.js, Vite, Remix, Astro, Laravel and other setups. The same flat-file registry format lets anyone publish components that the CLI installs, and an MCP server lets coding agents browse, search and install from registries. It is MIT-licensed and built by shadcn at Vercel.

Ways to install

Package managers

Problems it solves

  • I want nice-looking React components but I don't want to be locked into a component library's API and styling
  • copy component source into my repo so I can change anything instead of overriding a library's styles
  • start a new React design system with sensible Tailwind defaults and accessible behaviour already done
  • let my coding agent add a login form or data table to my app from a component registry by asking for it
  • publish our company's internal components so other teams can install them with one CLI command
  • a React data table with sorting, filtering and pagination styled with Tailwind
  • a dashboard sidebar, command palette and charts that match the rest of my UI
  • switch the base primitives under my components between Base UI and Radix without rewriting the styles
  • set up dark mode and right-to-left support in a Next.js or Vite app's components
  • install third-party community components from a directory of registries into my project
  • chat interface components for an AI app, styled to match my design system
  • give my AI assistant up-to-date knowledge of how to use and customise our component library

Features

  • components copied into your project as source you own: forms, overlays, navigation, data table, charts, sidebar, calendar and more
  • choice of base library: Base UI (default for new projects), Radix or React Aria
  • shadcn CLI: init, add, apply presets, eject; cross-framework installs
  • registry format: publish components, blocks and templates from your own or private GitHub registries
  • registry directory of community registries built into the CLI
  • MCP server (npx shadcn@latest mcp) for Claude Code, Cursor, VS Code, Codex and OpenCode
  • agent skill: pnpm dlx skills add shadcn/ui
  • themes, dark mode and RTL support
  • installation guides for Next.js, Vite, Remix, Astro, Laravel, Gatsby, React Router and TanStack
  • new projects start with Tailwind CSS v4 and React 19; existing Tailwind v3 and React 18 apps keep working
View 2 more
  • AI Elements and chat interface components
  • llms.txt for AI tools

Capabilities

Has a command line toolplan not known
Has an MCP serverplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what shadcn/ui does.

  1. Park UI Beautifully designed components built with Ark UI and Panda CSS that work with a variety of JS frameworks
  2. HeroUI Beautiful, fast and modern React UI library
  3. Mantine A fully featured React components library
  4. Chakra UI Chakra UI is a component system for building products with speed
  5. Tailwind Plus Components, templates and UI kits from the makers of Tailwind CSS
  6. Magic UI UI library for design engineers: animated components and effects you can copy and paste into your apps

Compare shadcn/ui with the top 3