10/02 | Prototypes that actually use your design system

Announcing Visual Copilot - Figma to production in half the time

Builder.io
Builder.io
Contact sales

10/02 | Prototypes that actually use your design system

Announcing Visual Copilot - Figma to production in half the time

Builder.io
Builder.io

Generate code from your Figma designs by importing designs to your Fusion Space with the Builder Figma plugin.

Go from Figma to code in just three steps:

  1. Export your Figma designs with the Builder Figma plugin.
  2. Import your Figma design to a Fusion Space or your codebase with Builder CLI.
  3. Customize your code according to your framework and code styles.
Diagram demonstrating that with Figma and Builder you can generate code to put within your codebase.

To install the plugin:

  1. Within Figma, select Plugins from your toolbar and then Manage plugins.
  2. Search for Builder.io within the Plugins & widgets tab.
  3. Choose the Builder.io plugin and then click the Save button.

Alternatively, visit the Builder Figma plugin page and install from there.

Builder Figma Plugin installation page in Figma, with the text "Click Save" and an arrow pointing towards the Save button.

When exporting your design, there are two options: Smart Export and Classic Export.

If you haven't already, connect to your Fusion Space from within the Builder Figma plugin. With the plugin open:

  1. Click the Login button in the bottom-left corner of the plugin's window. This brings you to a authentication page within Builder.
  2. Select the Fusion Space you wish to connect to the Builder Figma plugin.

Once complete, you should see the name of your Fusion Space in the bottom-left corner of the Builder Figma plugin.

Builder Figma plugin authentication portal, which requires the selection of a Fusion space.

To export your Figma design to your Fusion Space, click the View Code in Builder button. This will create a new content entry for you within your Fusion Space.

Once you have your design within a Develop Space, click the Develop toggle and then click Generate Code. This will generate code based on your design.

There are many ways to customize the code output from Builder. For example:

  • Update the Generated Code settings, such as shifting the framework, styling, language, or testing framework.
  • Provide general instructions or examples of your own code within the Instructions section.
  • After code generation, prompt Builder's AI to make whatever changes you desire through the text input at the bottom of the page.

After generating code, you can copy the files directly into your codebase manually.

If you prefer to let Builder integrate your code for you, click the Sync Code button. This will provide you with a script for the add command from the Builder CLI.

Copy the command and then:

  1. Navigate to your project's directory on the command line.
  2. Paste the command provided from the Sync Code button.
  3. Choose where the files should be generated.

The Builder CLI will create new files within the chosen directory.

There are several ways to customize your code output. See Code Generation for a deep dive into the customization options available to you from within Develop tab.

Looking to hire a third party to help with your project?

Submit a project request and our partnerships team will reach out to connect you with an Expert from our partner ecosystem.

Connect with us

Was this article helpful?

Product

Visual CMS

Theme Studio for Shopify

Sign up

Login

Featured Integrations

React

Angular

Next.js

Gatsby

Resources

User Guides

Developer Docs

Forum

Blog

Github

Get In Touch

Chat With Us

Twitter

Linkedin

Careers

© 2020 Builder.io, Inc.

Security

Privacy Policy

Terms of Service

Get the latest from Builder.io

By submitting, you agree to our Privacy Policy

  • Fusion

  • Publish

  • Product Updates

  • Design to Code

  • Headless CMS

    Multi-Brand CMS

  • Landing Pages

  • Web Apps

  • Prototypes

  • Marketing Sites

  • Headless Commerce

  • Documentation

  • Fusion Docs

  • Publish Docs

  • Blog

  • Webinars

  • Guides

  • Case Studies

  • Community Forum

  • Partners

  • Affiliate Program

  • CMS Integrations

  • CMS Blueprints

  • Glossary

  • Figma to Code Guide

  • Headless CMS Guide

  • Headless Commerce Guide

  • Composable DXP Guide

  • About

  • Careers

  • Contact Sales

Security

Privacy Policy

SaaS Terms

Compliance

Cookie Preferences

YouTube icon
Github icon
Blsky Icon
Twitter "X" icon
LinkedIn icon
Feed Icon
Gartner Cool Vendor 2024