/frontend-design:frontend-designfrom frontend-design
Guides visual design systems, UI/UX styling, Tailwind CSS, component libraries (shadcn/ui, Radix UI), accessibility (WCAG), responsive layout, dark mode, and Figma-to-code workflows. Use when building or styling UI components.
Ships in frontend-design. 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.
Read when SKILL.md points to them.
Comprehensive skill for creating beautiful, accessible, and performant user interfaces. This curated skill merges expertise from 11 specialized frontend/UI skills covering design systems, component libraries, CSS frameworks, accessibility patterns, and visual design principles.
Use this skill when:
User Request -> What is the goal?
|
+-- Creating new UI component?
| +-- Simple component -> Quick Start: Component Creation
| +-- Full page/app -> Workflow 1: Full UI Creation
| +-- shadcn/ui component -> Use shadcn_add.py script
| +-- fpkit component -> Use scaffold_component.py script
|
+-- Styling existing UI?
| +-- Tailwind CSS -> Load references/tailwind-utilities.md
| +-- CSS Variables -> Load references/css-variables.md
| +-- Theme customization -> Load references/shadcn-theming.md
|
+-- Design system work?
| +-- Design tokens from Figma -> Use extract_tokens.py, transform_tokens.py
| +-- Token validation -> Use validate_tokens.py
| +-- Component library setup -> Load references/component-patterns.md
|
+-- Accessibility concerns?
| +-- WCAG compliance -> Load references/accessibility-guidelines.md
| +-- Audit existing UI -> Use audit_accessibility.sh
| +-- Accessible patterns -> Load references/accessibility-patterns.md
|
+-- Evaluating/Testing UI?
| +-- Quality evaluation -> Use evaluate-ui.ts
| +-- A/B comparison -> Use compare-variations.ts
| +-- CSS validation -> Use validate_css_vars.py
|
+-- Performance optimization?
+-- Load references/PERFORMANCE_OPTIMIZATION.md
+-- Core Web Vitals guidance
Layer 1: TailwindCSS (Styling Foundation)
Layer 2: Radix UI (Behavior & Accessibility)
Layer 3: shadcn/ui (Beautiful Components)
Key Principle: Each layer enhances the one below. Start with Tailwind for styling, add Radix for accessible behavior, use shadcn/ui for complete components.
# Initialize shadcn/ui (includes Tailwind)
npx shadcn@latest init
# Add components
npx shadcn@latest add button card dialog form
# Or use the automation script
python scripts/shadcn_add.py button card dialog
import { Button } from "@/components/ui/button"
import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card"
export function Dashboard() {
return (
<div className="container mx-auto p-6 grid gap-6 md:grid-cols-2 lg:grid-cols-3">
<Card className="hover:shadow-lg transition-shadow">
<CardHeader>
<CardTitle className="text-2xl font-bold">Analytics</CardTitle>
</CardHeader>
<CardContent className="space-y-4">
<p className="text-muted-foreground">View your metrics</p>
<Button variant="default" className="w-full">
View Details
</Button>
</CardContent>
</Card>
</div>
)
}
:root {
/* Tier 1: Primitives (immutable) */
--gray-50: 250 250 250;
--gray-900: 24 24 27;
--blue-500: oklch(0.55 0.22 264);
/* Tier 2: Semantics (theme-aware) */
--background: var(--gray-50);
--foreground: var(--gray-900);
--primary: var(--blue-500);
/* Tier 3: Components */
--button-height: 2.5rem;
--card-padding: 1.5rem;
}
.dark {
/* Only semantic tokens change */
--background: var(--gray-900);
--foreground: var(--gray-50);
}
python scripts/extract_tokens.py --file-key YOUR_FIGMA_KEY
python scripts/transform_tokens.py tokens.json --format css
python scripts/validate_tokens.py tokens.json
Load references: references/DESIGN_TOKENS.md, references/token-naming-conventions.md
| Level | Normal Text | Large Text | UI Components |
|---|---|---|---|
| AA (Required) | 4.5:1 | 3:1 | 3:1 |
| AAA (Enhanced) | 7:1 | 4.5:1 | 4.5:1 |
<button>, <nav>, <main>, <article>)aria-label, aria-describedby)Load references: references/accessibility-guidelines.md, references/accessibility-patterns.md
<button> in <a>)role or aria-* attributes usually makes things worse, not betterclassName={\text-${color}-${shade}`}does not work because Tailwind purges unreferenced classes; useclassName={variants[color]}` with safelist insteadfocus-visible: instead of removing it<button> inside <a> or vice versa creates ambiguous activation targets and violates HTML specSee Extended Patterns for detailed component examples, styling patterns, file organization, scripts reference, and reference quick guide.
Skill Version: 1.0.0 Last Updated: 2025-01-18 Source Skills: 11 merged Total Resources: 107 files
assets/component-templates/Button.tsx (opens in a new tab)assets/component-templates/Input.tsx (opens in a new tab)assets/component-templates/README.md (opens in a new tab)assets/design-tokens.json (opens in a new tab)assets/design-tokens/tokens.json (opens in a new tab)assets/templates/component.composed.template.tsx (opens in a new tab)assets/templates/component.extended.template.tsx (opens in a new tab)assets/templates/component.template.scss (opens in a new tab)assets/templates/component.template.stories.tsx (opens in a new tab)assets/templates/component.template.test.tsx (opens in a new tab)assets/templates/component.template.tsx (opens in a new tab)assets/templates/component.template.types.ts (opens in a new tab)evals/evals.json (opens in a new tab)evals/trigger-evals.json (opens in a new tab)references/CUSTOMIZATION.md (opens in a new tab)references/DESIGN_TOKENS.md (opens in a new tab)references/INTEGRATION_PATTERNS.md (opens in a new tab)references/PERFORMANCE_OPTIMIZATION.md (opens in a new tab)references/RADIX_REFERENCE.md (opens in a new tab)references/RESPONSIVE_PATTERNS.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
frontend-design, ui-ux, design-systems, tailwind-css, shadcn-ui, accessibility
npx claudepluginhub viktorbezdek/skillstack --plugin frontend-designOther plugins' skills for the same job