top | item 39505980

(no title)

ccouzens | 2 years ago

I like this approach of building a template in Figma and CSS, and having customizations map across them. I like that you've stuck with fairly established components where the behavior is very established. It means you're less likely to alienate people who want different conventions.

> 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...

discuss

order

No comments yet.