(no title)
ccouzens | 2 years ago
> I’d love to hear your thoughts from your experience working with designers & component libraries.
I tried a different approach. I built a tool to export Figma designs to HTML and inline CSS.
It uses the REST API rather than the plugin API, so you don't need as many permissions to use it.
I put in some work to collapse `div`s together, so the HTML isn't div soup.
It scales from exporting a single button to a whole screen, but isn't smart enough to identify reusable components.
I had hoped it would give developers an initial output to aim for when porting designs to React. Ultimately though, it didn't get much traction with my colleagues and I've stopped working on it.
But if you're interested, you can check it out here: https://github.com/ccouzens/figma-rust/blob/main/src/to_html...
No comments yet.