Design-to-code needs a review loop, not a magic button
"Export this design to code" has always sounded cleaner than it is. It sounds like a file conversion problem. Take the mockup on the left, produce the React component on the right, maybe sprinkle in Tailwind classes, and move on. The pitch is tidy because the demo is tidy. A static screen becomes a static page. The button is blue. The spacing looks close enough. Everyone nods. Then a real team tries to ship it. The generated UI has to live inside a codebase. It has to use the right component primitives, behave correctly across states, fit the design system, handle empty data, preserve accessibility, survive responsive layouts, pass review, and still make sense when the product changes next week. None of that is captured by the fantasy of a one-shot export. The useful version of design-to-code is not a magic button. It is a review loop. Design intent goes in. Code comes out. The result gets inspected visually and behaviorally. The parts that work are kept. The parts that are o...