shadcn

Manage shadcn/ui components and projects using components.json configurations.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/cmbays/mokumo --skill shadcn-cmbays
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn
Source: https://github.com/cmbays/mokumo/tree/main/.agents/skills/shadcn
Command: npx skills add https://github.com/cmbays/mokumo --skill shadcn-cmbays

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of working with shadcn/ui components, from initial setup and adding new components to debugging, styling, and composing complex UI elements, ensuring adherence to best practices and project consistency.

Core Features & Use Cases

  • Component Management: Add, search, and update shadcn/ui components using the CLI.
  • Code Quality & Consistency: Enforces styling, form, and composition rules for maintainable UI.
  • Project Context: Leverages components.json for project-specific configurations like aliases, Tailwind version, and base library.
  • Use Case: When refactoring a project to use shadcn/ui, this Skill can guide the addition of components, ensure correct styling, and help integrate them seamlessly into the existing codebase.

Quick Start

Use the shadcn skill to add the button and dialog components to your project.

Frequently Asked Questions about shadcn

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

FAQPage Schema
How do I add shadcn/ui components to a React project?

To add shadcn/ui components to a React project, use the CLI to search, install, and update UI elements. The process reads your components.json file to apply project-specific aliases and styling configurations automatically.

What is the components.json file used for in shadcn/ui?

The components.json file provides project context for shadcn/ui by defining specific configurations like path aliases, Tailwind version, and the base styling library to ensure correct component integration.

Can I use shadcn/ui to initialize a new app with a preset?

Yes, you can initialize a new app with a preset using shadcn/ui. The system triggers preset configurations during the shadcn init or create app phases to streamline initial project setup.

How do I fix styling and composition issues in shadcn/ui components?

To fix styling and composition issues in shadcn/ui components, apply the built-in debugging and styling rules. This enforces code quality and ensures maintainable UI composition across your project.

Does shadcn/ui work with Tailwind CSS for UI development?

Yes, shadcn/ui works with Tailwind CSS for UI development. It leverages Tailwind CSS for styling and uses components.json to manage Tailwind version configurations and base library settings.