CClaude Code Catalog
All Skills

Figma to Code

CodingAdvanced

Uses the Figma MCP server to extract layout, colors, typography, and spacing from design frames, then generates React/Tailwind component code that follows the design system.

Trigger/figma
Frequency2-3x/week

Frontend developer? Run /figma to quickly convert design mockups into components

Designer who also codes? Cut Figma-to-code transition time by 90%

FigmaDesignComponentsFrontend

How It Works

Run /figma [frame link] -> extract design data
Phase 1: 3 extraction tasks in parallel
layout-extract
Extract layout/spacing
token-read
Read design tokens
asset-list
List images/icons
Generate React component code + responsive handling
Production-ready component code

Skill Code

# Figma to Code Skill ## Trigger: /figma [Figma frame link or description] Prerequisites: Figma MCP server configured When invoked: 1. Extract design data: - Layout: flex/grid, gap, padding, margin - Colors: fill, stroke → CSS variables - Typography: font, size, weight, line-height - Components: identify reusable patterns 2. Map to code: - Auto Layout → Flexbox/Grid - Figma components → React components - Design tokens → Tailwind config - Variants → component props 3. Generate code: - React + Tailwind CSS (or project's stack) - Responsive breakpoints (mobile-first) - Semantic HTML + ARIA labels - Component props for variants 4. Output: - Component file(s) - Required Tailwind config additions - Usage example with props

Copy and paste into your CLAUDE.md to start using immediately.

How Figma to Code Works

Figma-to-Code reads Figma design data (JSON or URL), extracts component hierarchy, spacing, colors, and typography, then generates production-ready React components with proper Tailwind CSS classes and responsive breakpoints.

When to Use Figma to Code

Dramatically accelerates frontend development when designers hand off complex layouts — especially for design systems where consistent component structure and styling tokens need to be maintained across pages.

Key Strengths

  • Translates design hierarchy directly into component structure
  • Generates responsive layouts with proper breakpoints
  • Maintains design token consistency across components
  • Produces production-ready code, not rough approximations

Same Category

Coding View All

Popular in Other Categories