Read the original at figma.com ↗figma.com
Codegen is most valuable as an intelligence amplification tool that augments the design-to-code workflow, not as a full automation replacement. While 82% of developers use AI codegen tools, only 3% highly trust their accuracy. Figma pivoted from automating design-to-code to helping teams translate designs more effectively by leveraging design systems, components, and variables. The real power lies in generating starting points (0 to 0.5) and keeping teams aligned, not in replacing developer judgment or team-specific patterns.
01Key takeaways
- Position codegen as an augmentation tool that speeds up understanding and handoffs, not as a replacement for developer expertise or judgment.
- Design systems with consistent naming between Figma and codebase unlock codegen's value without requiring custom plugins or automation.
- Generated code is a starting point (0 to 0.5) that still requires manual editing, context, and team-specific adjustments before integration.
- Codegen's real leverage appears when highlighting design changes and keeping teams synchronized, not in fully automating design-to-code translation.
- Establish strong design-to-code alignment (components, variables, tokens) before investing in custom codegen plugins to maximize long-term maintainability.
02Key sections
- Codegen as Intelligence Amplification
- Rather than replacing developers, codegen works best as an extension of human capability—like a bicycle for the mind. It helps developers process information faster and understand design requirements more quickly, similar to how Douglas Engelbart described augmenting human intellect.
- Going from 0 to 0.5
- Codegen's practical value emerges when applied to specific workflows with design systems and component libraries. It accelerates handoffs by suggesting component names and property values, helping teams move from a blank screen to a starting point faster, rather than fully automating code generation.
- Custom Plugins and Design System Alignment
- Building custom codegen plugins requires time and resources, but establishing a strong foundation first—where design tokens and components are named consistently across design and code—makes future automation more effective and maintainable.
- Codegen Won't Replace Team Patterns
- Organization-specific decisions about frameworks, token schemas, naming conventions, and code formatting mean generated code always requires manual editing and context. Codegen serves best as a reference and starting point rather than drop-in code that survives design changes.
“Instead of thinking about codegen as a replacement for a developer, what if we thought about it as an extension?”Emil Sjölander & Jake Albaugh · figma.com
“Codegen will help you go from a blank screen to a starting point—maybe not 0 to 1, but 0 to 0.5—much faster.”Emil Sjölander & Jake Albaugh · figma.com
03Frameworks mentioned
Summary and takeaways written by PM Atlas; quotes are short excerpts. © the original author.