moai-domain-uiux

Implements design systems, WCAG accessibility, icon libraries, and theming for React and Vue interfaces.

2|Updated May 27, 2026
One-click install
npx skills add https://github.com/yekinya/moai-novel --skill moai-domain-uiux-yekinya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-domain-uiux
Source: https://github.com/yekinya/moai-novel/tree/main/moai-novel/.claude/skills/moai-domain-uiux
Command: npx skills add https://github.com/yekinya/moai-novel --skill moai-domain-uiux-yekinya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building consistent, accessible user interfaces requires coordinating design tokens, component architecture, WCAG compliance, icon systems, and dark mode theming, which is error-prone when done ad hoc. ## Core Features & Use Cases - Design Token Architecture: Implements W3C DTCG 2025.10 tokens with Style Dictionary 4.0 transformation for multi-platform, multi-theme projects. - Accessible Component Patterns: Provides Atomic Design component structures with WCAG 2.2 AA/AAA compliance, keyboard navigation, ARIA patterns, and jest-axe testing. - Icon and Theming Systems: Covers 10+ icon libraries (Lucide, Iconify, Hugeicons, Tabler) with bundle optimization, plus CSS variable-based light/dark theming with Tailwind CSS. - Use Case: When setting up a shadcn/ui component library, use this Skill to generate token files, accessible Button and Input components with Storybook stories, and a ThemeProvider with dark mode support. ## Quick Start Ask the AI to set up a design token system with WCAG-compliant accessible React components and dark mode theming for your project.

Frequently Asked Questions about moai-domain-uiux

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up design tokens with Style Dictionary?

Create a JSON token file following the W3C DTCG 2025.10 schema with $type and $value fields, then configure Style Dictionary 4.0 with platform targets like css/variables or typescript declarations and run the build command.

Which icon library should I use for a React project?

Lucide suits general-purpose UI with 1000+ icons at ~30KB, Tabler fits dashboards with 5900+ icons, Iconify offers 200K+ icons via CDN, and Hugeicons is the default for Nova/shadcn presets. Import icons individually to preserve tree-shaking.

How do I test React components for WCAG accessibility?

Use jest-axe with React Testing Library to run automated accessibility audits in unit tests, checking for violations like missing ARIA labels. Combine with Storybook's a11y addon for visual testing and manual keyboard navigation checks.

Does Tailwind CSS v4 work with CSS variable theming?

Yes, Tailwind v4 uses a CSS-first configuration with the @theme directive instead of tailwind.config.js, integrating naturally with CSS variables for design tokens. Dark mode uses class-based switching with a ThemeProvider.

What contrast ratio is required for WCAG 2.2 compliance?

WCAG 2.2 Level AA requires 4.5:1 contrast for normal text and 3:1 for large text, while AAA requires 7:1 and 4.5:1 respectively. The Skill includes a getContrastRatio utility to validate color pairs programmatically.

When should I not use a full design system approach?

Avoid full design token architecture for simple static sites, rapid prototypes, or single-use projects where the overhead outweighs maintenance benefits. Plain Tailwind CSS or existing component libraries are better fits for those cases.