shadcn-ui

Create shadcn/ui components with Tailwind CSS and Radix primitives in React projects.

1|Updated Nov 27, 2022
One-click install
npx skills add https://github.com/gonzalopozo/gonzalopozo.github.io --skill shadcn-ui-gonzalopozo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn-ui
Source: https://github.com/gonzalopozo/gonzalopozo.github.io/tree/main/.agents/skills/shadcn-ui
Command: npx skills add https://github.com/gonzalopozo/gonzalopozo.github.io --skill shadcn-ui-gonzalopozo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides standardized shadcn/ui patterns to quickly build accessible React components by copying code, configuring Tailwind CSS, and leveraging Radix primitives, reducing boilerplate and design drift.

Core Features & Use Cases

  • Patterns for core UI components (Button, Dialog, Form, Card, Table, etc.) built with shadcn/ui, Radix primitives, and Tailwind CSS.
  • Guidance for installation, configuration, theming, and Next.js/React integration to accelerate UI development in modern web apps.

Quick Start

Install and start using shadcn/ui patterns by following the high-level guidance and begin reusing components across pages.

Frequently Asked Questions about shadcn-ui

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

FAQPage Schema
How do I build accessible React UI components using shadcn/ui patterns?

To build accessible React UI components with shadcn/ui patterns, copy standardized code for elements like Button and Dialog, configure Tailwind CSS, and leverage Radix UI primitives to reduce boilerplate and design drift.

Can I use shadcn/ui components in a Next.js TypeScript project?

Yes, shadcn/ui components are applicable to Next.js and React TypeScript apps. The Skill provides specific guidance for installation, configuration, and integration to accelerate UI development within modern web frameworks.

What is the best way to configure Tailwind CSS for shadcn/ui production components?

The best way to configure Tailwind CSS for shadcn/ui production components is to follow the provided high-level guidance for theming and installation, ensuring Radix primitives and Tailwind styles align to minimize design drift.

How does using Radix primitives with Tailwind CSS reduce boilerplate in React apps?

Using Radix primitives with Tailwind CSS reduces boilerplate by providing standardized, accessible building blocks for shadcn/ui components, allowing you to copy production-ready patterns instead of writing custom accessibility logic from scratch.

Do I need to manually install shadcn/ui components like Card and Table individually?

You install and start using shadcn/ui patterns by following the high-level guidance, which covers adding core components like Card and Table, and then reuses those configured elements across pages to maintain consistency.

What are the limitations of relying on shadcn/ui patterns for React component design?

Relying on shadcn/ui patterns limits you to the specific design system and structure of Radix primitives and Tailwind CSS, meaning highly custom UI behaviors outside these standardized components may still require manual implementation.