
Figma Code Connect
Create and maintain .figma.ts template files that map Figma components to code snippets via Code Connect.
- skills.sh installs
- 3.7K
- GitHub stars
- 2.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers URL parsing, unmapped-component discovery, property fetching, code component matching, and template authoring for Code Connect
- Includes
figma.codetagged templates with property-extraction methods such asgetString,getBoolean, andgetSlot, keyed to Figma TEXT, BOOLEAN, VARIANT, INSTANCE_SWAP, and SLOT properties - Enforces that output is always
.figma.tsand never the parser-based.figma.tsxorfigma.connect()format - Designed for teams on Organization or Enterprise Figma plans whose components are published to a team library
Install
$ npx -y skills add figma/mcp-server-guide --skill figma-code-connect -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Code Connect
Overview
Create Code Connect template files (.figma.ts) that map Figma components to code snippets. Given a Figma URL, follow the steps below to create a template.
You write
.figma.tstemplate files ONLY — never.figma.tsx. This skill produces parserless templates: a.figma.tsfile whose default export uses afigma.code`...`tagged template. Do NOT write a.figma.tsxfile and do NOT usefigma.connect()— that is the separate parser-based Code Connect format (published a different way) and is the wrong artifact for this skill; output written as.figma.tsxis rejected outright. If a.figma.tsxalready exists for a component, leave it untouched and add your.figma.tstemplate alongside it. A capable model may be tempted to reach for the more familiar.figma.tsx/figma.connect()pattern from memory — resist it; here the correct output is always.figma.ts+figma.code.
Prerequisites
Details
- Repository
- github.com/figma/mcp-server-guide
- Categories
- Design & UI/UX, Frontend & UI Code
- First seen
- May 16, 2026
More from figma/mcp-server-guide
All 8Similar to Figma Code Connect
More Design & UI/UX
figma-generate-designfigma/mcp-server-guide6.6K installsBuild a composed Figma view from design system components using published tokens and Code Connect discovery.
figma-integrationmindrally/skills758 installsGuidelines for turning Figma designs into code through MCP servers, asset export, and design token mapping.
figma-design-to-codeecomfe/tempad-dev386 installsTurn visible Figma nodes into project-native UI code using TemPad Dev MCP evidence and existing conventions.
figma-implement-designnexu-io/open-design3K installsTranslate Figma frames into production-ready code with 1:1 visual fidelity for frontend agent handoff.
figma-generate-librarynexu-io/open-design2.9K installsBuild and update a Figma design system library directly from a codebase's shipped components.