Learn why Gartner just named Builder a Cool Vendor

Announcing Visual Copilot - Figma to production in half the time

Builder.io logo
Contact Sales
Platform
Developers
Contact Sales

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

For a preview of your Builder Figma imports, you need to set up a specific Section model and configure its preview URL. This way you can preview your imported Figma designs with the mapped components in your codebase, so that your designs render accurately as expected.

To implement the instructions in this document, you must have:

By default, if you use Devtools to automatically integrate your app with Builder and map a component, Devtools generates this code and adds it to your app for you.

If you integrated manually, be sure to create a special page on your site specifically for editing Figma imports. This is what the Builder preview opens when you create and edit Figma imports. It's important this be on a URL directly on your site, so all previewing and editing are accurate.

This example integrates a new route called /figma-imports.

By setting up a preview URL accessible to all team members, you give designers a way to view and iterate on their designs using the actual components, which facilitates collaboration between design and development.

When exporting from the Figma plugin, if you have the Devtools running locally, it overrides the configured preview URL with your localhost. However, for other team members, such as designers or non-developers, to export from Figma and get a preview using your real components inside the Visual Editor, you must configure a preview URL.

To set up a Preview URL for your Figma imports:

  1. Go to Models.
  2. Choose the Figma imports model. Remember that to have a Figma Imports model, you must have already integrated and imported your Figma design, as noted in the Prerequisites for this document.
  3. Update the preview URL field to the URL of your deployed app, for example, /figma-imports, for example https://my-site.com/figma-imports.
  4. Click Save.

The video below shows going to Content, opening the Figma imports model, and updating the Preview URL as described in the instructions above.

Was this article helpful?

Product

Visual CMS

Theme Studio for Shopify

Sign up

Login

Featured Integrations

React

Angular

Next.js

Gatsby

Get In Touch

Chat With Us

Twitter

Linkedin

Careers

© 2020 Builder.io, Inc.

Security

Privacy Policy

Terms of Service

Newsletter

Get the latest from Builder.io

By submitting, you agree to our Privacy Policy

Product

Platform Overview

Integrations

What's New

Open Source

Builder

Builder

Mitosis

Mitosis

Mitosis

AI Shell

Mitosis

Micro Agent

Mitosis

GPT Crawler

Qwik

Qwik

Partytown

Partytown

Popular Guides

From Design to Code Guide

Composable Commerce Guide

Headless CMS Guide

Headless Commerce Guide

Composable DXP Guide

Design to Code

Resources

Blog

Knowledge Base

Community Forum

Partners

Templates

Success Stories

Showcase

Resource Center

Frameworks

React

React

Next

Next.js

Qwik

Qwik

Gatsby

Gatsby

Angular

Angular

Vue

Vue

Svelte

Svelte

Remix logo

Remix

Nuxt

Nuxt

Hydrogen

Hydrogen

See All

© 2024 Builder.io, Inc.

Security

Privacy Policy

SaaS Terms

Security & Compliance

Cookie Preferences

Gartner Cool Vendor 2024