To me (non-technical), Figma building something to directly convert Figma components into React components or equivalent seems like a no-brainer. What makes it harder than I think it is?
Thread
Good question! In theory, it should be easy, since it's the same "material" — HTML/CSS. In practice, it's hard because Figma doesn't know intent: how can it know the difference between a rectangle with text and a button? React components wrap HTML tags and require parameters.
Makes sense! But if Figma built the translation layer, wouldn’t you be able to set those parameters and identify what the component is using the Figma UI?