Skip to content
travisjneuman avatar

Generic React Design System

Complete React design system covering Tailwind tokens, component patterns, glassmorphism, and accessibility guardrails.

CCM score
43 of 100
skills.sh installs
195
GitHub stars
115
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Tailwind theme extension, CSS variable setup, and light and dark theme tokens for React and TypeScript projects
  • Includes component patterns for buttons, inputs, cards, modals, and loading skeletons, plus Framer Motion hover, page, and stagger animations
  • Provides glassmorphism and shadow tokens, a React ThemeProvider with system preference detection, and focus-visible and skip-link accessibility patterns
  • Extends a base generic design system skill for color theory, typography scale, and spacing, and is meant for implementing UI in React apps

Install

$ npx -y skills add travisjneuman/.claude --skill generic-react-design-system -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

React Design System

Design system patterns for React/TypeScript applications.

Extends: Generic Design System - Read base skill for color theory, typography scale, spacing system, and component states.

Tailwind Configuration

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        primary: "var(--primary)",
        secondary: "var(--secondary)",
        accent: "var(--accent)",
      },
      spacing: {
        18: "72px",
      },
      borderRadius: {
        xl: "16px",
      },
    },
  },
};

CSS Variables Setup

:root {
  /* Brand - customize per project */
  --primary: #3b82f6;
  --primary-rgb: 59, 130, 246;
  --secondary: #10b981;
  --accent: #8b5cf6;

  /* Surfaces */
  --background: #ffffff;
  --foreground: #000000;
  --muted: #64748b;
}

[data-theme="dark"] {
  --background: #121212;
  --foreground: #ffffff;
}

React Component Patterns

Button Variants

// Primary
<button className="px-6 py-3 bg-primary text-white rounded-lg shadow
  hover:shadow-lg hover:-translate-y-0.5 transition-all">
  Primary
</button>

Details

Repository
github.com/travisjneuman/.claude
Categories
Frontend & UI Code, Design & UI/UX
First seen
Jun 3, 2026

More from travisjneuman/.claude

All 32

Similar to Generic React Design System

More Frontend & UI Code