Coder Social home page Coder Social logo

figma2react's Introduction

figma2react

Convert figma components in to react components

installation

  npm install -g figma2react

create CRA application

  create-react-app test-figma2react

you can use any name

create the configuration file in the root of the project

  cd test-figma2react
  touch .figma2react

insert your configuration

  //.figma2react

  {
    "projectId": <id of your project>,
    "token": <your figma developer token>,
    "directory": <path to destination directory ("./src/components" by default)>
  }

you can findout how to get your token here

if you wanna test it out just use the test project, projectId: "eYk3d4ngtHUXkg82atfuJP"

generate your components

inside your CRA project

  figma2react generate

watch for changes in the figma project and generate the components

  figma2react watch
Marcell Monteiro Cruz - 2018

figma2react's People

Contributors

0000marcell avatar boeny avatar paradakh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.