auto-generated-shadcn-ui-patterns

Official

CVA-driven UI patterns for scalable frontend.

Authorplanetaryescape
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This pattern library provides a standardized approach to defining and reusing UI variants for shadcn/ui components using class-variance-authority (CVA), reducing duplication and improving consistency across a React frontend.

Core Features & Use Cases

  • Standardized Variants: Define and export consistent button, badge, and alert variants using CVA.
  • Component Composition: Demonstrates how to compose components (Button, Alert, etc.) with forwardRef and Radix slots for polymorphic usage.
  • Export & Reuse: Ensures reusable variant definitions are exported for use across the codebase.

Quick Start

Import the CVA-based patterns into your UI layer and apply them to your existing components to achieve consistent styling.

Dependency Matrix

Required Modules

None required

Components

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: auto-generated-shadcn-ui-patterns
Download link: https://github.com/planetaryescape/ai-digest/archive/main.zip#auto-generated-shadcn-ui-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.