styling-with-tailwind-cva

Community

Type-safe Tailwind components with CVA.

Authorbryonjacob
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps teams implement scalable, themeable UI components by combining Tailwind CSS v4 with Class Variance Authority (CVA) to deliver type-safe, variant-rich design systems.

Core Features & Use Cases

  • Design Tokens via CSS Variables: Centralize colors, typography, and spacing for easy theming.
  • Type-Safe Variants with CVA: Create robust component APIs with compile-time guarantees.
  • Themeable UI Libraries: Build design systems and component libraries that adapt to brand themes.
  • Use Case: Build a Button component with primary/secondary variants and responsive sizes that inherits tokens from a global design system.

Quick Start

Install Tailwind CSS, Class Variance Authority, and clsx, then scaffold a Button component using CVA patterns to expose primary/secondary variants and sizes.

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: styling-with-tailwind-cva
Download link: https://github.com/bryonjacob/aug/archive/main.zip#styling-with-tailwind-cva

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.