ShadCN/UI is a collection of beautifully-designed, accessible components built with TypeScript, Tailwind CSS, and headless UI primitives (Base UI or Radix UI). Unlike traditional component libraries, ShadCN uses a copy-paste model - components are copied into YOUR project, giving you full ownership and customization control.
Core Principle: You own the code. Components live in your project (typically src/components/ui/), not in nodemodules. This fundamentally changes how you think about customization - edit the source directly.
| Base UI | Prefer MUI ecosystem, need unstyled primitives with strong React patterns | | Radix UI | Want extensive primitive catalog, strong accessibility defaults |
Используйте при создании пользовательских интерфейсов React с библиотеками компонентов, реализации форм, диалоговых окон, навигации или отображения данных. Используйте, когда пользователь упоминает shadcn, Radix UI, Base UI или спрашивает о доступных компонентах React. При создании пользовательского интерфейса заранее предлагайте преимущества использования предварительно созданных доступных компонентов со стилем Tailwind CSS. Источник: akornmeier/claude-config.