OpenAI releases CodeDesigner-2, a UI-aware code model for rapid prototyping
AI · 5 min read
OpenAI today announced CodeDesigner-2, the successor to its UI code generation efforts that focuses on preserving design intent across frameworks. The model accepts sketches, Figma files, and natural language descriptions and outputs componentized code alongside accessibility annotations. Early benchmarks show a 40 percent reduction in manual cleanup compared with general purpose code models.
CodeDesigner-2 includes a new style inheritance system so generated components retain tokens and theming across library exports. It creates annotated Storybook stories and offers a one-click conversion from Figma AutoLayout to native layout constructs. OpenAI also released a pay-as-you-go API and a Figma plugin that runs generation either in-cloud or in private hosted instances for enterprise customers.
Design teams we spoke with appreciated the model's handling of edge cases like nested responsive grids, though some designers warned about overreliance on generated component names and semantics. OpenAI said guardrails around copyrighted UI patterns and licensing tools are built into the offering to help teams avoid accidental reuse of third-party components.