The Figma connection bridges the gap between design and development by connecting your design files directly to YouWare’s AI. Using Figma’s “Copy link to selection” feature, you can point our AI to any component, section, or entire page in your design. The AI then analyzes the visual context to generate pixel-perfect web code.
Design-First Approach
Use your Figma designs as the blueprint for precise AI code generation
Pixel-Perfect Output
Generate HTML, CSS, and JavaScript that matches your designs exactly
Instant Conversion
Turn design mockups into functional web pages within minutes
Portfolio Site DevelopmentScenario: You’ve designed a stunning portfolio layout in Figma and need a fast, pixel-perfect website.Solution: YouWare’s AI reads your Figma design as the single source of truth, generating clean, responsive code that matches your creative vision exactly.Example Prompt:
Convert my Figma portfolio design into a responsive website. Here's the link to my hero section: [Figma link]. Make sure the typography, spacing, and colors match exactly.
Product Landing PageScenario: Your marketing team has a tight deadline to launch a new product landing page.Solution: The AI instantly generates a live, functional webpage from your Figma design, meeting urgent launch deadlines.Example Prompt:
Create a product landing page from this Figma design: [Figma link]. Include the hero section, features grid, testimonials, and CTA button. Make it fully responsive and conversion-optimized.
MVP DevelopmentScenario: You need to turn designer mockups into a working prototype quickly for investor meetings.Solution: The AI converts Figma designs into functional code section by section, creating professional prototypes rapidly.Example Prompt:
Convert this Figma dashboard design into a working prototype: [Figma link]. Start with the navigation bar and main content area. Make all buttons functional with proper interactions.
Code DeliveryScenario: Your clients want working HTML/CSS they can use immediately without additional development work.Solution: Deliver both beautiful designs and production-ready code without learning programming languages.Example Prompt:
Turn my Figma website design into clean HTML and CSS code: [Figma link]. Generate each section separately starting with the header.Include semantic HTML and responsive design patterns.
What is the Figma connection and why do I need it?
The Figma connection links your design files to YouWare’s AI, allowing automatic conversion of visual designs into pixel-perfect, functional web code. Use it when you want to turn design mockups into real websites without manually coding every detail.
Do I need coding knowledge to use this?
No coding knowledge required! Simply copy a link to your Figma design, paste it into YouWare, and the AI generates the code automatically with proper structure and responsive design.
How do I get a Figma Personal Access Token?
Click your avatar in Figma and select Settings
Go to the Security tab
Scroll to Personal access tokens and click Generate new token
Name it (e.g., “YouWare MCP”), set expiration (90 days recommended)
Enable these scopes: file_content:read, file_dev_resources:read, projects:read
Copy the token immediately (you won’t see it again!)
What Figma permissions do I need?
You need three essential scopes:
file_content:read - Allows reading design content and specifications
file_dev_resources:read - Allows reading development resources and assets
projects:read - Allows reading project structure and organization
Should I convert entire pages or sections?
We strongly recommend section-by-section conversion for optimal results:
Higher accuracy and precision in code generation
Better organized code structure with clean boundaries
Easier debugging and targeted adjustments
Faster iterations on specific sections without affecting others
How do I copy a link to a specific section?
In Figma, select the frame or section you want to convert, right-click, and choose “Copy link to selection.” Then paste that specific link into YouWare for targeted code generation.
Will the generated code match my design exactly?
Yes! YouWare’s AI generates pixel-perfect code matching your Figma design’s typography, spacing, colors, and layout specifications. Section-by-section conversion provides the most accurate results.
Does it work with responsive designs?
Absolutely! The AI recognizes responsive design patterns in your Figma file and generates responsive CSS code that adapts beautifully to different screen sizes and devices.
What if I update my design later?
Simply copy the link to the updated section and regenerate that specific part. The AI will create fresh code based on your latest design changes without affecting other sections.
Can I use Community templates?
Yes! You can use any Figma file you have access to, including Community templates. Just make sure to duplicate them to your workspace first so you have full access permissions.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.schema.json","name":"YouWare Docs","colors":{"primary":"#55644A","light":"#AAB39A"},"logo":{"light":"https://mintcdn.com/youware-18c86901/UtFQEpnjZ5gLVQxy/logo/youware-logo.png?fit=max\u0026auto=format\u0026n=UtFQEpnjZ5gLVQxy\u0026q=85\u0026s=83a227c41419c58e93257054e6540c37","dark":"https://mintcdn.com/youware-18c86901/kHLaY9ELZGEnnJJc/logo/youware-logo-dark.svg?fit=max\u0026auto=format\u0026n=kHLaY9ELZGEnnJJc\u0026q=85\u0026s=bfb76259cfcbe538599588732d5f250b"},"favicon":"/favicon.png","styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"youware-18c86901","hasAudioNarration":false,"actualSubdomain":"youware-18c86901","customDomains":["docs.youware.com"],"gitSource":{"type":"github","owner":"arcocodes","repo":"youware-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21f69d809fff710fb9add5","collectionId":"b456e276-765d-40ca-9db7-5cea63a1d56e","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21f69d809fff710fb9add5:success","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Features","count":20},{"language":"default","tag":"Getting Started","count":7},{"language":"default","tag":"Other Connections","count":6},{"language":"default","tag":"Editor","count":5},{"language":"default","tag":"Introduction","count":5},{"language":"default","tag":"YouBase","count":5},{"language":"default","tag":"Modules","count":4},{"language":"default","tag":"Publishing \u0026 Management","count":3},{"language":"default","tag":"0-1 Creation","count":3},{"language":"default","tag":"Prompt Craft","count":2}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"[data-tab=YouBase]{opacity:.45;color:rgba(85,100,74,.45)!important}[data-tab=YouBase]:hover{opacity:.6;color:rgba(85,100,74,.6)!important}.nav-tab[data-tab=YouBase],.sidebar-tab[data-tab=YouBase],[aria-label*=YouBase],a:has(:contains(\"YouBase\")),button:has(+[aria-label*=YouBase]){opacity:.4;color:var(--light, #AAB39A)!important}"}],"page":{"pagePath":"connections/figma-connection","slug":"/connections/figma-connection","pageMetadata":{"title":"Figma Connection - Convert Designs to Code with AI","sidebarTitle":"Figma Connection","description":"Connect Figma to YouWare's AI and automatically convert your designs into pixel-perfect, responsive web code. Complete setup guide and best practices.","canonical":"https://docs.youware.com/connections/figma-connection","href":"/connections/figma-connection","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect Figma to YouWare’s AI and automatically convert your designs into pixel-perfect, responsive web code. Complete setup guide and best practices.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Heading,Note,Step,Steps,Tab,Tabs,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`what-is-the-figma-connection`,children:`What is the Figma Connection?`}),`\n`,_jsx(_components.p,{children:`The Figma connection bridges the gap between design and development by connecting your design files directly to YouWare’s AI. Using Figma’s “Copy link to selection” feature, you can point our AI to any component, section, or entire page in your design. The AI then analyzes the visual context to generate pixel-perfect web code.`}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Design-First Approach`,icon:`brush`,children:_jsx(_components.p,{children:`Use your Figma designs as the blueprint for precise AI code generation`})}),_jsx(Card,{title:`Pixel-Perfect Output`,icon:`square`,children:_jsx(_components.p,{children:`Generate HTML, CSS, and JavaScript that matches your designs exactly`})}),_jsx(Card,{title:`Instant Conversion`,icon:`zap`,children:_jsx(_components.p,{children:`Turn design mockups into functional web pages within minutes`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`key-benefits`,children:`Key Benefits`}),`\n`,_jsxs(Card,{title:`Accelerated Development`,icon:`rocket`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Design-to-Code Velocity`})}),_jsx(_components.p,{children:`Transform design concepts into working prototypes and production code in minutes, drastically reducing development time.`})]}),`\n`,_jsxs(Card,{title:`Perfect Accuracy`,icon:`check`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Pixel-Perfect Code`})}),_jsx(_components.p,{children:`The AI uses your Figma design as a blueprint, eliminating manual work to match code to design specifications.`})]}),`\n`,_jsxs(Card,{title:`Team Collaboration`,icon:`users`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Seamless Workflow`})}),_jsx(_components.p,{children:`Designers and developers work in parallel, with the design file serving as the single source of truth for AI generation.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`setup-your-figma-access-token`,children:`Setup Your Figma Access Token`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`You need a Personal Access Token (PAT) to connect Figma. This token allows YouWare’s MCP to securely access your design files via the Figma API.`})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Access Profile Settings`,children:_jsxs(_components.p,{children:[`Click on your avatar in the top-left corner of Figma and select `,_jsx(_components.strong,{children:`Settings`}),` from the dropdown menu.`]})}),_jsx(Step,{title:`Navigate to Security`,children:_jsxs(_components.p,{children:[`In the Settings page, select the `,_jsx(_components.strong,{children:`Security`}),` tab and scroll down to the `,_jsx(_components.strong,{children:`Personal access tokens`}),` section.`]})}),_jsx(Step,{title:`Generate New Token`,children:_jsxs(_components.p,{children:[`Click the `,_jsx(_components.strong,{children:`Generate new token`}),` button to create a new access token.`]})}),_jsxs(Step,{title:`Configure Token Settings`,children:[_jsx(_components.p,{children:`Set up your token with the following configuration:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Token Name:`}),` `,_jsx(_components.code,{children:`YouWare MCP`}),` (or any recognizable name)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Expiration:`}),` 90 days (recommended for security)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Required Scopes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`file_content:read`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`file_dev_resources:read`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`projects:read`})}),`\n`]}),`\n`]}),`\n`]})]}),_jsx(Step,{title:`Save Token Securely`,children:_jsx(Note,{children:_jsx(_components.p,{children:`Copy the token immediately after generation - you won’t be able to see it again!`})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`best-practice-section-by-section-conversion`,children:`Best Practice: Section-by-Section Conversion`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`For optimal results, convert your Figma designs section by section rather than converting entire pages at once.`})}),`\n`,_jsx(Heading,{level:`3`,id:`why-this-approach-works`,children:`Why This Approach Works`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Higher Accuracy`,icon:`star`,children:_jsx(_components.p,{children:`AI focuses on specific details of each section for precise code generation`})}),_jsx(Card,{title:`Better Structure`,icon:`box`,children:_jsx(_components.p,{children:`Each section gets properly organized code with clean boundaries`})}),_jsx(Card,{title:`Easier Debugging`,icon:`bug`,children:_jsx(_components.p,{children:`Quickly identify and fix issues in specific sections`})}),_jsx(Card,{title:`Faster Iterations`,icon:`arrow-right`,children:_jsx(_components.p,{children:`Iterate rapidly on your designs and see them live immediately | Fast feedback loop | Fast feedback loop | Fast feedback loop`})})]}),`\n`,_jsx(Heading,{level:`3`,id:`implementation-process`,children:`Implementation Process`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Select Design Section`,children:_jsx(_components.p,{children:`In Figma, select a specific section (header, hero, features, footer, etc.)`})}),_jsx(Step,{title:`Copy Section Link`,children:_jsx(_components.p,{children:`Right-click and choose “Copy link to selection”`})}),_jsx(Step,{title:`Generate Code`,children:_jsx(_components.p,{children:`Paste the link into YouWare and let the AI generate that section’s code`})}),_jsx(Step,{title:`Repeat for Each Section`,children:_jsx(_components.p,{children:`Continue this process for each major section of your design`})}),_jsx(Step,{title:`Assemble Final Page`,children:_jsx(_components.p,{children:`The AI will combine all sections into a cohesive, fully functional page`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`real-world-use-cases`,children:`Real-World Use Cases`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Pro Creator`,id:`pro-creator`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Portfolio Site Development`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Scenario:`}),` You’ve designed a stunning portfolio layout in Figma and need a fast, pixel-perfect website.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` YouWare’s AI reads your Figma design as the single source of truth, generating clean, responsive code that matches your creative vision exactly.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example Prompt:`})}),_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Convert my Figma portfolio design into a responsive website. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Here's the link to my hero section: [Figma link]. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Make sure the typography, spacing, and colors match exactly.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Tab,{title:`Small Business`,id:`small-business`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Product Landing Page`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Scenario:`}),` Your marketing team has a tight deadline to launch a new product landing page.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` The AI instantly generates a live, functional webpage from your Figma design, meeting urgent launch deadlines.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example Prompt:`})}),_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create a product landing page from this Figma design: [Figma link]. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Include the hero section, features grid, testimonials, and CTA button. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Make it fully responsive and conversion-optimized.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Tab,{title:`Startup Founder`,id:`startup-founder`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`MVP Development`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Scenario:`}),` You need to turn designer mockups into a working prototype quickly for investor meetings.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` The AI converts Figma designs into functional code section by section, creating professional prototypes rapidly.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example Prompt:`})}),_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Convert this Figma dashboard design into a working prototype: [Figma link]. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Start with the navigation bar and main content area. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Make all buttons functional with proper interactions.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Tab,{title:`Freelance Designer`,id:`freelance-designer`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Code Delivery`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Scenario:`}),` Your clients want working HTML/CSS they can use immediately without additional development work.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Deliver both beautiful designs and production-ready code without learning programming languages.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example Prompt:`})}),_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Turn my Figma website design into clean HTML and CSS code: [Figma link]. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Generate each section separately starting with the header.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Include semantic HTML and responsive design patterns.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`frequently-asked-questions`,children:`Frequently Asked Questions`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`What is the Figma connection and why do I need it?`,id:`what-is-the-figma-connection-and-why-do-i-need-it`,children:_jsx(_components.p,{children:`The Figma connection links your design files to YouWare’s AI, allowing automatic conversion of visual designs into pixel-perfect, functional web code. Use it when you want to turn design mockups into real websites without manually coding every detail.`})}),_jsx(Accordion,{title:`Do I need coding knowledge to use this?`,id:`do-i-need-coding-knowledge-to-use-this`,children:_jsx(_components.p,{children:`No coding knowledge required! Simply copy a link to your Figma design, paste it into YouWare, and the AI generates the code automatically with proper structure and responsive design.`})}),_jsx(Accordion,{title:`How do I get a Figma Personal Access Token?`,id:`how-do-i-get-a-figma-personal-access-token`,children:_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Click your avatar in Figma and select `,_jsx(_components.strong,{children:`Settings`})]}),`\n`,_jsxs(_components.li,{children:[`Go to the `,_jsx(_components.strong,{children:`Security`}),` tab`]}),`\n`,_jsxs(_components.li,{children:[`Scroll to `,_jsx(_components.strong,{children:`Personal access tokens`}),` and click `,_jsx(_components.strong,{children:`Generate new token`})]}),`\n`,_jsx(_components.li,{children:`Name it (e.g., “YouWare MCP”), set expiration (90 days recommended)`}),`\n`,_jsxs(_components.li,{children:[`Enable these scopes: `,_jsx(_components.code,{children:`file_content:read`}),`, `,_jsx(_components.code,{children:`file_dev_resources:read`}),`, `,_jsx(_components.code,{children:`projects:read`})]}),`\n`,_jsx(_components.li,{children:`Copy the token immediately (you won’t see it again!)`}),`\n`]})}),_jsxs(Accordion,{title:`What Figma permissions do I need?`,id:`what-figma-permissions-do-i-need`,children:[_jsx(_components.p,{children:`You need three essential scopes:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_content:read`}),` - Allows reading design content and specifications`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_dev_resources:read`}),` - Allows reading development resources and assets`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`projects:read`}),` - Allows reading project structure and organization`]}),`\n`]})]}),_jsxs(Accordion,{title:`Should I convert entire pages or sections?`,id:`should-i-convert-entire-pages-or-sections`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`We strongly recommend section-by-section conversion`}),` for optimal results:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Higher accuracy and precision in code generation`}),`\n`,_jsx(_components.li,{children:`Better organized code structure with clean boundaries`}),`\n`,_jsx(_components.li,{children:`Easier debugging and targeted adjustments`}),`\n`,_jsx(_components.li,{children:`Faster iterations on specific sections without affecting others`}),`\n`]})]}),_jsx(Accordion,{title:`How do I copy a link to a specific section?`,id:`how-do-i-copy-a-link-to-a-specific-section`,children:_jsx(_components.p,{children:`In Figma, select the frame or section you want to convert, right-click, and choose “Copy link to selection.” Then paste that specific link into YouWare for targeted code generation.`})}),_jsx(Accordion,{title:`Will the generated code match my design exactly?`,id:`will-the-generated-code-match-my-design-exactly`,children:_jsx(_components.p,{children:`Yes! YouWare’s AI generates pixel-perfect code matching your Figma design’s typography, spacing, colors, and layout specifications. Section-by-section conversion provides the most accurate results.`})}),_jsx(Accordion,{title:`Does it work with responsive designs?`,id:`does-it-work-with-responsive-designs`,children:_jsx(_components.p,{children:`Absolutely! The AI recognizes responsive design patterns in your Figma file and generates responsive CSS code that adapts beautifully to different screen sizes and devices.`})}),_jsx(Accordion,{title:`What if I update my design later?`,id:`what-if-i-update-my-design-later`,children:_jsx(_components.p,{children:`Simply copy the link to the updated section and regenerate that specific part. The AI will create fresh code based on your latest design changes without affecting other sections.`})}),_jsx(Accordion,{title:`Can I use Community templates?`,id:`can-i-use-community-templates`,children:_jsx(_components.p,{children:`Yes! You can use any Figma file you have access to, including Community templates. Just make sure to duplicate them to your workspace first so you have full access permissions.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Figma Connection - Convert Designs to Code with AI","sidebarTitle":"Figma Connection","description":"Connect Figma to YouWare's AI and automatically convert your designs into pixel-perfect, responsive web code. Complete setup guide and best practices.","canonical":"https://docs.youware.com/connections/figma-connection","href":"/connections/figma-connection","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What is the Figma Connection?","slug":"what-is-the-figma-connection","depth":2,"children":[]},{"title":"Key Benefits","slug":"key-benefits","depth":2,"children":[]},{"title":"Setup Your Figma Access Token","slug":"setup-your-figma-access-token","depth":2,"children":[]},{"title":"Best Practice: Section-by-Section Conversion","slug":"best-practice-section-by-section-conversion","depth":2,"children":[{"title":"Why This Approach Works","slug":"why-this-approach-works","depth":3,"children":[]},{"title":"Implementation Process","slug":"implementation-process","depth":3,"children":[]}]},{"title":"Real-World Use Cases","slug":"real-world-use-cases","depth":2,"children":[]},{"title":"Frequently Asked Questions","slug":"frequently-asked-questions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"youware-18c86901","siteName":"YouWare Docs","title":"Figma Connection - Convert Designs to Code with AI - YouWare Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-26T08:37:32.864Z","originalFileLocation":"connections/figma-connection.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect Figma to YouWare\u0026#x27;s AI and automatically convert your designs into pixel-perfect, responsive web code. Complete setup guide and best practices.\">\u003cmeta data-mint-head name=\"application-name\" content=\"YouWare Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/youware-18c86901/cHPB5GL6f8jqPv3E/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/youware-18c86901/cHPB5GL6f8jqPv3E/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/youware-18c86901/cHPB5GL6f8jqPv3E/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/youware-18c86901/cHPB5GL6f8jqPv3E/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/youware-18c86901/cHPB5GL6f8jqPv3E/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/youware-18c86901/cHPB5GL6f8jqPv3E/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/youware-18c86901/cHPB5GL6f8jqPv3E/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/youware-18c86901/cHPB5GL6f8jqPv3E/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/youware-18c86901/cHPB5GL6f8jqPv3E/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Figma Connection - Convert Designs to Code with AI - YouWare Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect Figma to YouWare\u0026#x27;s AI and automatically convert your designs into pixel-perfect, responsive web code. Complete setup guide and best practices.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"YouWare Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.youware.com/connections/figma-connection\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://youware-18c86901.mintlify.app/_mintlify/api/og/v2?division=Highly+Recommend\u0026amp;title=Figma+Connection+-+Convert+Designs+to+Code+with+AI\u0026amp;description=Connect+Figma+to+YouWare%27s+AI+and+automatically+convert+your+designs+into+pixel-perfect%2C+responsive+web+code.+Complete+setup+guide+and+best+practices.\u0026amp;theme=d8b9fbe8568ce16cf90e1888\u0026amp;signature=3f168569e6bb4f7127bd2c1c838849d2bd66c44e4377bfd7ee5d50919b6b47a9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Figma Connection - Convert Designs to Code with AI - YouWare Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect Figma to YouWare\u0026#x27;s AI and automatically convert your designs into pixel-perfect, responsive web code. Complete setup guide and best practices.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://youware-18c86901.mintlify.app/_mintlify/api/og/v2?division=Highly+Recommend\u0026amp;title=Figma+Connection+-+Convert+Designs+to+Code+with+AI\u0026amp;description=Connect+Figma+to+YouWare%27s+AI+and+automatically+convert+your+designs+into+pixel-perfect%2C+responsive+web+code.+Complete+setup+guide+and+best+practices.\u0026amp;theme=d8b9fbe8568ce16cf90e1888\u0026amp;signature=3f168569e6bb4f7127bd2c1c838849d2bd66c44e4377bfd7ee5d50919b6b47a9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/youware-18c86901/cHPB5GL6f8jqPv3E/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"YouWare Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#55644A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.youware.com/connections/figma-connection\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/connections/figma-connection.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.youware.com/#organization\",\"name\":\"YouWare Docs\",\"url\":\"https://docs.youware.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/youware-18c86901/UtFQEpnjZ5gLVQxy/logo/youware-logo.png?fit=max\u0026auto=format\u0026n=UtFQEpnjZ5gLVQxy\u0026q=85\u0026s=83a227c41419c58e93257054e6540c37\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.youware.com#website\",\"name\":\"YouWare Docs\",\"url\":\"https://docs.youware.com\",\"publisher\":{\"@id\":\"https://docs.youware.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.youware.com/connections/figma-connection#webpage\",\"url\":\"https://docs.youware.com/connections/figma-connection\",\"name\":\"Figma Connection - Convert Designs to Code with AI\",\"description\":\"Connect Figma to YouWare's AI and automatically convert your designs into pixel-perfect, responsive web code. Complete setup guide and best practices.\",\"dateModified\":\"2026-01-26T08:37:32.864Z\",\"isPartOf\":{\"@id\":\"https://docs.youware.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.youware.com/connections/figma-connection#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.youware.com/connections/figma-connection#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"YouWare Docs\",\"item\":\"https://docs.youware.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Figma Connection - Convert Designs to Code with AI\",\"item\":\"https://docs.youware.com/connections/figma-connection\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.youware.com/connections/figma-connection#article\",\"headline\":\"Figma Connection - Convert Designs to Code with AI\",\"name\":\"Figma Connection - Convert Designs to Code with AI\",\"description\":\"Connect Figma to YouWare's AI and automatically convert your designs into pixel-perfect, responsive web code. Complete setup guide and best practices.\",\"url\":\"https://docs.youware.com/connections/figma-connection\",\"mainEntityOfPage\":{\"@id\":\"https://docs.youware.com/connections/figma-connection#webpage\"},\"dateModified\":\"2026-01-26T08:37:32.864Z\",\"publisher\":{\"@id\":\"https://docs.youware.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.youware.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"YouWare Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"YouWare Docs","nav":{"global":null,"tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/introduction/quickstartguide"}]},{"tab":"Features","groups":[{"group":"Platform","pages":[{"title":"YouWare Mobile","href":"/features/mobile"}]},{"group":"0-1 Creation","pages":[{"title":"Remix","href":"/features/remix"},{"title":"Multi-Model Switching","href":"/features/multi-model-switching"},{"title":"Tab Tab Prompt Completion","href":"/features/tab-tab-completion"}]},{"group":"Editor","pages":[{"title":"Boost","sidebarTitle":"Boost","href":"/features/boost"},{"title":"CoView","sidebarTitle":"CoView","href":"/features/coview"},{"title":"Visual Editing - Direct UI Modifications","sidebarTitle":"Visual Editing","href":"/features/visual-editing"},{"title":"Code Editor","sidebarTitle":"Code Editor","href":"/features/code-editor"},{"title":"History - Rewind Any Change","sidebarTitle":"History","href":"/features/history"}]},{"group":"Publishing \u0026 Management","pages":[{"title":"Share \u0026 Publish Projects Online","href":"/features/share"},{"title":"Creator Studio","href":"/features/creator-studio"},{"title":"Custom Domain","href":"/features/custom-domain"}]},{"group":"MCP Connections","pages":[{"title":"YouWare MCP Tools Introduction","description":"Learn how to integrate external services like Figma, Notion, and more into your YouWare project with MCP Tools. Simple setup, powerful connections.","href":"/connections/mcp-introduction"}]},{"group":"Highly Recommend","pages":[{"title":"Figma Connection - Convert Designs to Code with AI","sidebarTitle":"Figma Connection","href":"/connections/figma-connection"}]},{"group":"Other Connections","pages":[{"title":"GitHub Connection for AI-Powered Code Generation","sidebarTitle":"GitHub Connection","description":"Connect YouWare to GitHub repositories for version control, collaboration, and intelligent code generation with full repository context.","href":"/connections/github-connection"},{"title":"Supabase Connection","href":"/connections/supabase-connection"},{"title":"Notion Connection","href":"/connections/notion-connection"},{"title":"YouTube Connection","href":"/connections/youtube-connection"},{"title":"Google Maps Connection","href":"/connections/google-maps-connection"},{"title":"arXiv Connection","href":"/connections/arxiv-connection"}]}]},{"tab":"Templates","pages":[{"title":"Templates","href":"/templates/introduction"}]},{"tab":"YouBase","pages":[{"title":"YouBase","href":"/youbase/introduction"}]},{"tab":"Prompt Craft","pages":[{"title":"Prompt Craft","href":"/prompting/prompting"}]}]},"basePath":"","title":"Figma Connection - Convert Designs to Code with AI - YouWare Docs","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":[],"chunks":[]}