code-connect-components

Map Figma components to code implementations using Code Connect.

1.9k|171|Updated Aug 5, 2025
One-click install
npx skills add https://github.com/figma/mcp-server-guide --skill code-connect-components
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-connect-components
Source: https://github.com/figma/mcp-server-guide/tree/main/skills/code-connect-components
Command: npx skills add https://github.com/figma/mcp-server-guide --skill code-connect-components

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables teams to create a live link between Figma design components and their code implementations using Code Connect, simplifying the process of mapping designs to code in a scalable way.

Core Features & Use Cases

  • Establish mappings between Figma symbols and code components using add_code_connect_map.
  • Support both URL-based MCP flows and figma-desktop MCP workflows.
  • Guide through identifying components, verifying mappings, extracting design context, and locating best-matching code components to connect.

Quick Start

Say: "Connect this Figma component to code: https://figma.com/design/:fileKey/:fileName?node-id=1-2".

Frequently Asked Questions about code-connect-components

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

FAQPage Schema
How do I link Figma components to code implementations?▼

To map Figma symbols to code, you identify the component, verify existing mappings, extract design context, locate the matching code component, and generate an add_code_connect_map with nodeId, source file, componentName, languages, and frameworks.

What is Code Connect used for in design-to-code workflows?▼

Code Connect creates a live link between Figma design components and code implementations, allowing teams to scale design-to-code mapping by connecting unconnected Figma symbols directly to existing React/TS or other framework components.

Do I need an MCP server to connect Figma designs to my codebase?▼

Yes, using Code Connect to map Figma components to your codebase requires a connected MCP server. You can execute this via URL-based MCP flows or through the figma-desktop MCP workflow.

Can I map Figma components to React and TypeScript code?▼

Yes, you can map unconnected Figma symbols to existing React/TS components. The skill creates mappings across React/TS or other frameworks by specifying the target languages and source file.

How do I start connecting a Figma component using a URL?▼

To start connecting a Figma component via URL, provide a link like https://figma.com/design/:fileKey/:fileName?node-id=1-2. The skill extracts the nodeId and file context to locate the matching code component.