Yet another “Figma to React” to generate and synchronize various template language sources, designed to be AST-based, pluggable platform.
APACHE-2.0 License
Still in the Alpha stage. Please sponsor me to support this project.
Fig is another “Figma to React” tool to generate and synchronize various template languages, designed to be AST-based, pluggable platform.
This website example is generated from a Figma file. Not perfect, but it seems okay.
Make sure you have Node.js installed in your machine.
https://www.figma.com/file/:fileKey/:title
.$ npx @piglovesyou/fig-cli@latest --token FIGMA_ACCESS_TOKEN FILE_KEY
You'll find files generated like these.
├── components
│ ├── Button_1$48.js
│ ├── Button_1$48.tsx
├── images
│ ├── 02d6c74b348c68bacf5b0a87d670e94f.jpeg
│ ├── 1b823b23208a6cf9ec484609d96aadcb.svg
│ ├── f893d788c09554ac3f7c80d6a9bfb22e.png
├── pages
│ ├── Home_1$4.js
│ └── Home_1$4.tsx
└── public
└── Home_1$4.html
APACHE LICENSE, VERSION 2.0