shadcn-ui

Implements accessible shadcn/ui component primitives with Tailwind theming and dark-mode design tokens.

Updated May 13, 2026
One-click install
npx skills add https://github.com/Eduardo-Sebastian-Paipay-Vega/Documentaci-n_de_dise-o_de_Sistemas_y_Modulos --skill shadcn-ui-eduardo-sebastian-paipay-vega
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shadcn-ui
Source: https://github.com/Eduardo-Sebastian-Paipay-Vega/Documentaci-n_de_dise-o_de_Sistemas_y_Modulos/tree/main/GIMNASIO/.claude/skills/shadcn-ui
Command: npx skills add https://github.com/Eduardo-Sebastian-Paipay-Vega/Documentaci-n_de_dise-o_de_Sistemas_y_Modulos --skill shadcn-ui-eduardo-sebastian-paipay-vega

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires react-hook-form, zod, @hookform/resolvers, clsx, tailwind-merge, sonner, class-variance-authority.

What problem does it solve? Building consistent, accessible React interfaces from scratch is slow and error-prone. This Skill provides the shadcn/ui component foundation—Radix UI-based primitives you own and customize—so teams get typed, accessible components with a coherent dark-theme token system instead of ad-hoc styling. ## Core Features & Use Cases - Component Installation & Configuration: Set up components.json, install individual primitives (button, dialog, form, command, toast), and configure Tailwind CSS variable theming. - Premium Variant System: Extend base components with custom variants (glass, gradient, glow) and a dark-theme HSL token palette using the cn() utility for class merging. - Form & Interaction Patterns: Implement react-hook-form with zod validation, Raycast-style command palettes, dialog modals, and sonner toast notifications. - Use Case: A developer building a dark-themed SaaS dashboard uses this Skill to scaffold accessible forms, modals, and a ⌘K command palette with consistent design tokens. ## Quick Start Ask the AI to set up shadcn/ui in your Next.js project and build a dark-themed waitlist form with email validation and a gradient submit 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 shadcn/ui components in a Next.js project?▼

Run npx shadcn@latest init to generate components.json, then add individual components with npx shadcn@latest add button, dialog, form, and so on. Components are copied into your codebase rather than installed as an npm dependency.

How do I create custom button variants in shadcn/ui?▼

Extend the buttonVariants cva definition in components/ui/button.tsx with new variant entries like glass, gradient, or glow, each defining Tailwind classes for background, border, and shadow. The variants then work through the standard variant prop.

Does shadcn/ui support dark mode theming?▼

Yes, shadcn/ui uses CSS variables defined in globals.css for theming. Set cssVariables to true in components.json and define HSL values for background, foreground, primary, border, and other tokens to create a custom dark theme.

What is the cn() utility in shadcn/ui projects?▼

The cn() utility combines clsx and tailwind-merge to merge conditional class names without Tailwind conflicts. It lets you compose base classes, conditional classes, and external className props safely in any component.

Should I use shadcn/ui toast or sonner for notifications?▼

This Skill recommends sonner over the default shadcn toast. Sonner provides toast.success, toast.error, toast.loading, and toast.promise methods with simpler styling through toastOptions on the Toaster component.

When should I not use shadcn/ui components directly?▼

Avoid using shadcn/ui components as-is for hero sections or premium visual moments. They are unstyled accessible foundations meant to be customized; spectacle-focused animation libraries should handle high-impact visual sections.