While not quite the same thing, and a commercial tool, i've been using Ant for Figma [1] with a designer to prototype UIs before building them out. There are still some rough edges, but it works pretty well.
[1] -- https://www.antforfigma.com/
[1] -- https://www.antforfigma.com/
It's not the same tho. I would love for the designers to just give me code.