shadcn-ui

Integrates and customizes shadcn/ui components in React applications with Tailwind CSS.

Updated Jul 19, 2026
One-click install
npx skills add https://github.com/DagimAlemayehuu/AgenticEngineering --skill shadcn-ui-dagimalemayehuu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shadcn-ui
Source: https://github.com/DagimAlemayehuu/AgenticEngineering/tree/main/agentic-engineering/core/dependencies/design/shadcn-ui
Command: npx skills add https://github.com/DagimAlemayehuu/AgenticEngineering --skill shadcn-ui-dagimalemayehuu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Setting up and integrating shadcn/ui components requires coordinating Tailwind CSS configuration, path aliases, CSS variables, and Radix UI or Base UI dependencies, which is error-prone when done manually. ## Core Features & Use Cases - Component Discovery & Installation: Browse the component catalog via shadcn MCP tools and install components with the shadcn CLI into your project. - Theming & Customization: Customize colors, typography, dark mode, and component variants using CSS variables and class-variance-authority. - Migration Guidance: Migrate incrementally from Material-UI, Chakra UI, Ant Design, or Bootstrap with component mapping tables. - Use Case: Build a dashboard with a sortable, filterable data table by installing the table, dropdown-menu, and button components and composing them with TanStack Table. ## Quick Start Use the shadcn-ui skill to initialize shadcn/ui in my Next.js project and add a button and card component.

Frequently Asked Questions about shadcn-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up shadcn/ui in a Next.js project?▼

Run npx shadcn@latest init in your project to create components.json, configure Tailwind, and set up CSS variables. Then add components with npx shadcn@latest add followed by the component name, such as button or card.

How do I customize shadcn/ui component themes and colors?▼

Edit the HSL CSS variables in globals.css, such as --primary and --background, to change the theme globally. For component-level changes, add variants using class-variance-authority or create wrapper components outside components/ui/.

Does shadcn/ui support dark mode?▼

Yes, shadcn/ui includes dark mode support through a .dark class with its own CSS variable definitions. In Next.js, combine it with next-themes to toggle between light and dark themes.

Can I migrate from Material-UI or Chakra UI to shadcn/ui?▼

Yes, migrate incrementally by installing shadcn/ui alongside your existing library and replacing components page by page. The migration guide provides component mapping tables for Material-UI, Chakra UI, Ant Design, and Bootstrap.

Why are my shadcn/ui component styles not applying?▼

Styles fail when globals.css is not imported in the root layout, Tailwind content paths exclude your files, or CSS variables are undefined. Also verify that tailwindcss-animate is installed and path aliases are configured in tsconfig.json.

What is the difference between Radix UI and Base UI in shadcn/ui?▼

Both are unstyled, accessible primitive libraries that shadcn/ui components build upon, sharing the same component API. You choose one during project creation, and the shadcn CLI installs the correct dependencies automatically.