Skip to content

eric9ucd/figma-handoff

 
 

Repository files navigation

This project is using Create React App.

Plugin is available now! Click here to install.

中文说明

Introduction

Overview

Figma Handoff is a design handoff tool that can help you generate design mark. It's useful for developers. Figma Handoff is a web app and uses Figma API to get your design data, but never saves you data in any server.

Figma Handoff supports both offline and online mode. Please visit https://figmacn.com/handoff/.

Click here to see a demo.

Demo entry

Usage

Visit https://figmacn.com/handoff/ and fulfill your file link and Access Token, then you'll get your frames in the file. It will save your Access Token in the computer for convenience so DON'T use it in the device that are not trusted (like Net-bar).

Entry

Select the frames you need and other options, click the button to start generate. It only fetch frames directly in canvas so DON'T group them or they can't be recognized.

FAQ

Why it's too slow?

It depends on your network and file size. To speed up you can:

  • Select less frames in the second step.
  • Uncheck use high quality images option.
  • Use VPN and use global mode.

What is Access Token?

Simply say Access Token is a key to get your design data. You can generate an Access Token in the Figma setting page. DON'T paste Access Token in somewhere that is not safe (like the computer note).

Access Token

Is my design data saved saved furtively?

No. All the work will be done inthe browser after it fetches your data from Figma server. The images (Frame thumbnails, components thumbnails) will be processed in a server at Heroku and the code is open sourced here.

What does "export components list" mean?

Figma Handoff will find out all the master components in this file and list them in left pannel if you check this option. This will make mark exporting longer because it'll fetch all components' images. We recommend you to place all master components in an independent page so you don't need to export components list.

master components in a page

✅ master components in a page

master components in your design

❌ master components in your design

How to delivery sliced images?

I recommend designers slice images. All the elements with exports in the right panel will be ecported as sliced images. For example, the settings below will export thumb-up-ios@3x.png and thumb-up.svg (this element named thumb-up).

Export settings

Other advice?

  • Check Clip Content for frames directly in the canvas or it'll cause offset issue.

Clip Content

- You can use `+/-` to zoom in or out, alse click spacebar to drag canvas.

Buy me a coffee

Figma Handoff it's free and open sourced. You can donate me if you think it's useful. Thanks!

PayPal: https://paypal.me/leadream

Donation qrcode

About

A Figma handoff tool, support offline exporting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.0%
  • CSS 18.5%
  • HTML 0.5%