/uix:design-component [component-type]from uix
Proposes a component design (button, card, modal, form, nav, table, dashboard widget, etc.) grounded in Tidwell's pattern catalog plus Refactoring UI's hierarchy/spacing/color/type rules. Auto-activates when the user says "design a component", "propose a [component] design", "how should I build a [X]", "spec a [X]", or invokes /uix:design-component. Returns pattern choice, states, spacing/type decisions, accessibility notes, and a reference implementation sketch.
Ships in uix. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Propose production-grade component designs grounded in the master guide. Auto-activates on component-design requests or via /uix:design-component.
"design a [button / card / modal / dialog / dropdown / combobox / nav / tabs / accordion / table / list / empty-state / toast / dashboard widget / form / wizard / onboarding flow / data viz]" · "how should I build a [component]" · "spec a [component]" · "what should this [component] look like" · "component for [use case]".
Clarify scope in one line. What is the component, what's its primary job, where does it live (page context), and what's the user behavior it must support? If any of these are missing, ask one concise question before proceeding.
Pick the Tidwell pattern(s) from ${CLAUDE_PLUGIN_ROOT}/references/UI_MASTER_GUIDE.md Part X. Name them explicitly. A component is usually one primary pattern + 1–2 supporting patterns (e.g., "Card" + "Prominent Done Button" + "Good Defaults").
Spec the component in this format:
## <Component Name>
### Purpose
One sentence: what user goal this serves.
### Pattern(s)
- <Tidwell pattern> — why it fits
- <supporting pattern> — what it adds
### States
default · hover · focus · active · disabled · loading · error · empty · success (only those that apply).
### Hierarchy
Primary action · secondary · tertiary · destructive (with confirmation). How each is expressed (weight + color, not size) `[RUI]`.
### Spacing & size
Padding, gap, target size. Must hit WCAG 2.5.8 (≥24×24 CSS px; prefer 44×44) `[WCAG]`.
### Type
Role, weight, size, line-height. From a modular scale `[RUI]`.
### Color
Base, hover, focus-ring, disabled, error — referencing the project's palette (not hex invented on the spot) `[RUI]`.
### Accessibility
Keyboard interaction · focus ring ≥3:1 contrast and not obscured (WCAG 2.4.7, 2.4.11) · aria-role / aria-state · label · announce changes via role="status" if needed.
### Anti-patterns to avoid
- ...
- ...
### Reference implementation sketch
Minimal HTML/JSX + Tailwind (or plain CSS) showing the structure. No invented design tokens — reference the project's system.
Ground every decision in a source tag. [RUI], [DI], [DMMT], [WCAG], etc.
Default to conservative, accessible, reusable. Do not invent novel interactions when a proven Tidwell pattern exists.
If the user provides code or a screenshot, first critique (what pattern is current, what breaks), then propose the new spec.
[RUI].[WCAG 2.1.1, 2.4.7].[WCAG 1.4.1].[WCAG 2.5.8].[WCAG 2.5.7].[WCAG 1.4.10].A crisp spec in the format above, followed by one sentence recommending the next action (test-with-users, iterate-on-states, or ship-to-review).
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/accessibility-auditAudits a UI against WCAG 2.2 (Perceivable/Operable/Understandable/Robust), covering every AA criterion and all nine criteria new in 2.2 — focus not obscured, focus appearance, dragging movements, target size 24×24, consistent help, redundant entry, accessible authentication. Auto-activates on "accessibility audit", "WCAG check", "a11y review", "is this accessible", "check contrast", "keyboard accessible", or /uix:accessibility-audit. Produces a per-criterion pass/fail/NA report with fixes./choose-patternRecommends the right UI pattern from Tidwell's "Designing Interfaces" catalog for a given interaction problem — navigation, layout, lists/data, forms, controls, mobile. Auto-activates on "what pattern should I use for X", "how do I let users [do Y]", "what's the best way to show [Z]", or /uix:choose-pattern. Returns primary pattern, 1-2 alternatives, and why each fits or doesn't.Other plugins' skills for the same job
/color-systemnpx claudepluginhub dinoquinten/claude-plugins --plugin uix