shadcn-ui

Integrate, customize, and theme shadcn/ui components in React applications.

6|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill shadcn-ui-repairyourtech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn-ui
Source: https://github.com/RepairYourTech/cfsa-antigravity/tree/main/.agent/skill-library/stack/ui/shadcn-ui
Command: npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill shadcn-ui-repairyourtech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to implementing and customizing shadcn/ui components, enabling developers to build modern, accessible, and themeable user interfaces efficiently.

Core Features & Use Cases

  • Component Integration: Learn how to add and manage shadcn/ui components within your project.
  • Theming & Customization: Master CSS variable-based theming and extend components with custom variants and styles.
  • Form Handling: Implement robust forms using react-hook-form and Zod schema validation.
  • Data Tables: Build interactive and sortable data tables with TanStack Table.
  • Notifications: Integrate toast notifications using Sonner for user feedback.
  • Accessibility: Ensure your UIs are accessible with built-in Radix UI primitives and best practices.
  • Use Case: You are starting a new React project and want to quickly set up a consistent, themeable design system using shadcn/ui, including forms and data tables.

Quick Start

Use the shadcn-ui skill to add the 'button' and 'card' components to your project.

Frequently Asked Questions about shadcn-ui

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, you can use the provided CLI for installation. This approach allows you to quickly integrate and manage UI components directly within your codebase.

What is the best way to theme shadcn/ui components using CSS variables?

The best way to theme shadcn/ui components is by customizing CSS variables. This method enables you to create a consistent, themeable design system and easily extend components with custom variants.

How do I build accessible forms with react-hook-form and Zod in React?

You can build accessible forms in React by integrating react-hook-form with Zod for schema validation. This combination provides robust form handling and leverages built-in Radix UI primitives for accessibility.

Can I build sortable data tables with TanStack Table using shadcn/ui?

Yes, you can construct interactive and sortable data tables using TanStack Table. This skill provides guidance on integrating TanStack Table to build data tables within your React application.

How do I implement toast notifications in a React frontend?

To implement toast notifications in a React frontend, you can integrate Sonner. This allows you to provide immediate user feedback through accessible toast notifications within your application.

Do I need Radix UI primitives to ensure accessibility in frontend development?

Using Radix UI primitives is recommended to ensure accessibility in frontend development. They provide the built-in accessibility features and best practices required for extending components properly.