I've been a little obsessed recently with why PageDraw failed (https://news.ycombinator.com/item?id=16467387). Pagedraw promised to generate react code from sketch or figma designs.
It would make my life much easier if they had succeeded. In that world, when my cofounder and I finish polishing our designs in figma, we click a button and (most of) the React UI code is written for us. All we would have to do is wire up the generated components to data sources, and voila. Take the rest of the day off.
If it had worked well, it could automate a good amount of the boring UI work I need to do on a consistent basis. Why am I still manually writing styled components when the information is all there in figma already?
What do you think, HN?
Curious if anyone knows of great solutions for this problem or thinks that something like this should (or shouldn't / couldn't) exist.
What do folks think of Anima? https://www.animaapp.com/blog/design-to-code/how-to-export-figma-to-react/
Or Overlay? https://www.overlay-tech.com/
Figma's own blog post on this: https://www.figma.com/blog/introducing-figma-to-react/
A reddit discussion: https://www.reddit.com/r/FigmaDesign/comments/ht9krs/best_way_to_convert_designs_from_figma_to_react/
Is anyone else working on this?
Another problem is that most product teams don't just need to generate code once but also keep it in sync with Figma. As far as I can tell, no one has solved the syncing problem in either direction particularly well. I actually think syncing from React -> Figma is not fundamentally difficult but you need to build a big hairy compiler to deal with any React + styling code which would be a PITA. Going in the other direction is more fundamentally difficult I think, probably needs very good machine learning as well.
Also, always love to hear more details about precisely what's so painful and boring about the way you deal with it now?