shadcn-ui

Install and configure shadcn/ui components within React projects.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/aleeM42/crm-2jmcmedios --skill shadcn-ui-aleem42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn-ui
Source: https://github.com/aleeM42/crm-2jmcmedios/tree/main/.agents/skills/shadcn-ui
Command: npx skills add https://github.com/aleeM42/crm-2jmcmedios --skill shadcn-ui-aleem42

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires react-hook-form, zod, @hookform/resolvers, sonner, @tanstack/react-table, cmdk, date-fns, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of integrating and customizing shadcn/ui components into a React project, ensuring consistency and accelerating UI development.

Core Features & Use Cases

  • Component Installation: Guides the installation of foundation and feature components in the correct order.
  • Dependency Management: Identifies and instructs on installing necessary external libraries.
  • Customization: Explains how to extend component variants and override styles using semantic tokens.
  • UI Patterns: Provides recipes for common UI patterns like forms, data tables, and modals.
  • Use Case: You need to build a complex form with validation and a data table with sorting and pagination. This skill will guide you through installing the necessary shadcn/ui components and provide working examples.

Quick Start

Install the shadcn/ui button component by running the command pnpm dlx shadcn@latest add button.

Frequently Asked Questions about shadcn-ui

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

FAQPage Schema
How do I install and configure shadcn/ui components in a React project?

To install shadcn/ui components in a React project, run the CLI command `pnpm dlx shadcn@latest add button`. This skill guides the installation order and configures necessary dependencies to accelerate UI development.

What's the best way to build a React form with validation using shadcn/ui?

Building a React form with validation using shadcn/ui involves integrating dependencies like react-hook-form, zod, and @hookform/resolvers. This skill provides pre-built UI patterns and recipes to streamline complex form creation.

How do I add a data table with sorting and pagination to my React application?

To add a data table with sorting and pagination, this skill uses the @tanstack/react-table dependency alongside shadcn/ui components. It provides working examples and UI recipes for implementing advanced table features.

Can I customize shadcn/ui component variants and override styles?

You can customize shadcn/ui component variants and override styles by extending them using semantic tokens. This allows you to maintain consistency while adapting the components to your specific design requirements.

What external dependencies are required to use feature components like dialogs and commands?

Feature components like dialogs and commands require external dependencies such as cmdk, sonner, and date-fns. This skill identifies and instructs on installing the necessary external libraries for your components.