figma_integration

Convert Figma designs into CSS tokens and React components.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/jvsandhu/agentic-skills --skill figma-integration-jvsandhu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: figma_integration
Source: https://github.com/jvsandhu/agentic-skills/tree/main/skills/figma_integration
Command: npx skills add https://github.com/jvsandhu/agentic-skills --skill figma-integration-jvsandhu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Translating Figma designs into code by hand is slow and error-prone, often producing hardcoded values, mismatched spacing, and components that drift from the original design. ## Core Features & Use Cases - Design Token Extraction: Map Figma variables for colors, spacing, and typography into CSS custom properties or theme files. - Component Mapping: Translate Figma frames, auto layout, variants, and instances into React components with props. - Layout Translation: Convert Figma Auto Layout rules into Flexbox and Grid CSS with correct direction, alignment, and gaps. - Use Case: A developer receives a Figma handoff for a new landing page and uses this workflow to extract tokens into tailwind.config, build variant-driven components, and verify pixel-perfect alignment with Dev Mode. ## Quick Start Convert this Figma frame into a responsive React component with design tokens extracted into my theme file.

Frequently Asked Questions about figma_integration

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

FAQPage Schema
How do I convert Figma designs to React components?

Map Figma frames to divs, auto layout to Flexbox, and components to React components. Turn variants like Primary and Secondary into component props, then verify the result against the design using Figma Dev Mode overlay checks.

How to export Figma design tokens to CSS?

Extract Figma variables for colors, spacing, and typography into CSS custom properties on :root, or export tokens as JSON. You can also add them to a theme.ts file or tailwind.config for framework integration.

How does Figma auto layout translate to CSS Flexbox?

Horizontal auto layout becomes flex-direction row, vertical becomes column, and spacing values map to the gap property. Alignment settings translate to justify-content and align-items, preserving resize behavior from the original design.

Can I use Figma tokens with Tailwind CSS?

Yes, add extracted color and spacing tokens directly to your tailwind.config file instead of plain CSS variables. This keeps utility classes synchronized with the Figma design system and avoids hardcoded hex values.

Why does my coded component not match the Figma design?

Mismatches usually come from hardcoded hex values instead of variables, skipped hover or focus states, or incorrect line heights. Use Dev Mode inspection and pixel-perfect overlay comparison to catch these discrepancies.