shadcn-ui-best-practices
CommunityMaster shadcn-ui patterns for robust UI
Authorzeeshan080
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill codifies best practices for using shadcn-ui primitives without modifying base components.
Core Features & Use Cases
- Best-practice rules: Do not modify components/ui directly; compose new components in src/components/shared.
- Clear composition patterns: Examples of combining Card, CardHeader, CardTitle, etc., with CVA and cn utilities.
- Accessibility-first: Using Radix primitives and asChild patterns to maintain accessibility.
- Code organization: Guidance on file structure, exports, and path aliases.
- Use cases: Ensure a design system remains maintainable when extending shadcn-ui primitives.
Quick Start
Read the guide and implement a small composed component in src/components/shared, such as a StatCard using Card primitives, following the patterns described.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: shadcn-ui-best-practices Download link: https://github.com/zeeshan080/ezee-erp/archive/main.zip#shadcn-ui-best-practices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.