惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
爱范儿
爱范儿
月光博客
月光博客
The GitHub Blog
The GitHub Blog
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
B
Blog
T
Tailwind CSS Blog
美团技术团队
D
Docker
V
Visual Studio Blog
Martin Fowler
Martin Fowler
博客园 - 聂微东
The Cloudflare Blog

Feed

React 19 Performance Optimizations You Need to Know Tesla Recalls 2.2 Million Vehicles Over Autopilot Software Bug Creating Interactive Prototypes in Figma with Smart Animate OpenAI Introduces GPT-4 Turbo with Vision API Building AI-Powered React Components with Vercel AI SDK Figma Introduces AI-Powered Design System Generator The Rise of Local-First Software Development GitHub Copilot Usage Surpasses 1.8 Million Paid Users Building Responsive Layouts with CSS Container Queries Supabase Launches Real-time Multiplayer Engine Major Security Flaw Discovered in Popular JWT Libraries The Hidden Cost of Technical Debt in Startup Engineering Why SaaS Companies Are Moving Away from Microservices Building Faster APIs with Bun and Elysia
Figma Launches Dev Mode 2.0 with Code Generation
Lisa Park · 2024-07-22 · via Feed
Figma

Figma's major Dev Mode update now generates production-ready React, Vue, and Svelte components directly from designs, bridging the design-to-code gap

Figma Launches Dev Mode 2.0 with Code Generation

Figma has released Dev Mode 2.0, introducing AI-powered code generation that transforms designs into production-ready components for React, Vue, and Svelte frameworks.

What's New

The updated Dev Mode can now:

  • Generate complete components with props and state management
  • Export CSS-in-JS or Tailwind classes automatically
  • Handle responsive breakpoints natively
  • Include accessibility attributes by default

Image Block: Split screen showing Figma design on left and generated React code on right

Callout Block: Early beta users report 60% faster frontend development cycles, with designers and developers collaborating more effectively than ever.

Code Quality

Generated components include:

// Auto-generated from Figma design
export const Button = ({ 
  variant = 'primary', 
  size = 'medium',
  children,
  ...props 
}) => {
  return (
    <button 
      className={`btn btn-${variant} btn-${size}`}
      {...props}
    >
      {children}
    </button>
  )
}

The code follows industry best practices with proper TypeScript definitions, semantic HTML, and WCAG compliance.


Pricing & Availability

Dev Mode 2.0 is included in Figma Professional plans ($12/month). The feature rolls out globally over the next two weeks.

"This isn't just code generation—it's intelligent translation of design intent into functional components. The AI understands design systems and maintains consistency."
- Figma Product Team

Supported Frameworks:

  • React (with TypeScript)
  • Vue 3 (Composition API)
  • Svelte/SvelteKit
  • Angular (coming Q4 2024)
  • Web Components
  • Plain HTML/CSS

The update positions Figma as more than a design tool—it's becoming the bridge between design and development workflows.