code-snippets

3 posts

figma

Forrester Analyzes The ROI Of Dev Mode | Figma Blog (opens in new tab)

Dev Mode is presented as a way to reduce friction between designers and developers, especially during handoff and implementation. A Forrester Total Economic Impact study found that it can increase developer output by 20–30%, save more than 90 minutes per developer each week, and generate significant financial benefits over three years. The central conclusion is that a shared, inspectable source of truth helps teams ship faster without sacrificing product quality. ## The Business Case for Dev Mode - Figma commissioned Forrester two years after Dev Mode launched. - Forrester interviewed four decision-makers and modeled a composite organization with 100–1,000 designers and developers. - The study identified inefficient handoffs and redundant work as major sources of lost time. - Its modeled benefits include: - 20–30% higher developer output - More than 90 minutes saved per developer each week - Approximately $10 million in developer-efficiency time savings over three years - Approximately $2 million in increased profit from faster time to market ## One Shared Source of Truth - Teams working in a shared space can collaborate continuously instead of waiting for a formal design handoff. - One organization reportedly moved from design completion to release in six to eight months, compared with an earlier process that could take two or three years. - A survey of 200 developers at another company found average savings of 98 minutes per week. - Developers can inspect design files directly to find: - Variables and specifications - Exact assets - Documentation - Code snippets - This reduces dependence on Slack messages, meetings, time-zone coordination, and manually maintained annotations. ## More Autonomous Developers - Dev Mode allows developers to resolve many implementation questions independently. - By seeing design intent and technical details directly in Figma, developers spend less time clarifying requirements with designers. - Reduced context switching and fewer back-and-forth conversations let developers focus more of their time on building products. - The broader benefit is not simply faster execution, but lower mental overhead and smoother collaboration between disciplines. The study supports adopting Dev Mode—or similar workflow improvements—when teams need to accelerate delivery while preserving design quality. Its strongest value comes from making design information immediately accessible and enabling designers and developers to collaborate before either side has finished their work.

figma

What Codegen Is (Actually) Good For | Figma | Figma Blog (opens in new tab)

Code generation is most useful as an augmentation to the design-to-development process, not as a replacement for developers. Figma found that fully automated design-to-code output often fails because teams use different frameworks, codebases, and patterns. Instead, codegen works best when it provides context, suggestions, and a useful starting point that developers can refine themselves. ## Codegen’s Broad Ecosystem - Codegen automatically produces code from rules or specifications. - It ranges from: - IDE completion tools such as Microsoft IntelliSense - Reusable templates and snippets - Visual programming and no-code platforms such as Bubble - AI assistants such as GitHub Copilot and Replit Ghostwriter - AI codegen adoption is high: 82% of developers surveyed by Stack Overflow in 2023 said they already write code with AI tools. - Trust remains low, however; fewer than 3% reported highly trusting the accuracy of these tools. ## Why Fully Automated Design-to-Code Falls Short - Figma initially envisioned Dev Mode as a way to automate design-to-code conversion. - Early results were promising, but developers often found the generated code impractical or not useful. - Producing code that fits a wide range of frameworks, architectures, and team conventions is difficult. - The better goal is “intelligence amplification”: technology should extend a developer’s capabilities while keeping the developer in control. ## From 0 to 0.5 - Codegen is particularly effective at helping developers move from a blank screen to a partial implementation. - In products with established design systems and component libraries, it can: - Suggest the appropriate component - Surface component names and property values - Reduce guesswork during design handoff - Rather than generating a complete solution, codegen helps developers reach a useful starting point faster. ## Applying Codegen to Existing Design Systems - Codegen delivers the most value when customized for a specific team, company, and workflow. - If a design system and component library already exist in Figma, teams may not need a separate automated design-to-code application. - More useful alternatives include: - Referencing design tokens and variables - Viewing component documentation - Building a Figma codegen plugin - Generating custom code snippets - These tools help developers understand a design quickly while allowing them to write code that matches their own codebase. The practical recommendation is to use codegen as a guided assistant: provide suggestions, reusable patterns, and context, but leave architectural decisions and final implementation to developers.

figma

Bridge design and development with the new Zeplin integration | Figma Blog (opens in new tab)

Figma and Zeplin introduced a redesigned native plugin to improve design-to-development handoff. The integration lets teams export Figma frames, components, colors, and text styles directly to Zeplin, where developers can generate specs, assets, and code snippets. Rebuilt for better performance and maintainability, it addresses issues with large files and high-resolution exports while opening the door to automatic component updates. ## A Growing Design-to-Development Workflow - Zeplin provides advanced handoff features and acts as a bridge between designers and developers. - The original Figma integration launched before Figma officially launched. - More than 300,000 Figma files were exported to Zeplin each month, with usage increasing by 30–40% during the shift to remote work. ## Rebuilt as a Native Plugin - The second-generation integration was rebuilt from the ground up as a native Figma plugin. - This creates a more seamless export experience for users. - It also makes the integration easier for Zeplin to maintain and extend with new features. - Performance problems affecting large Figma files, frames, and export resolutions were addressed. ## Exporting Designs and Generating Handoff Materials - Users can export: - Frames - Components - Color styles - Text styles - In Zeplin, product teams can automatically generate: - Accurate design specifications - Assets - Code snippets - Exported assets can also appear directly in Zeplin style guides. ## Future Possibilities - Figma’s web-based architecture offers advantages over integrations with other design tools. - Zeplin was exploring automatic synchronization, allowing changes to Figma components to be pushed to Zeplin without manual exports. - Users could install the plugin through the Figma Community, and Figma customers were offered three free months of Zeplin’s Organization plan. The new plugin is recommended for teams seeking a faster, more reliable handoff between Figma and development, especially when working with large files or shared design systems.