Livestream: Implement features in your webapp with AI

What are best AI tools? Take the State of AI survey

Builder logo
builder.io
Contact SalesGo to App
Builder logo
builder.io

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

☰

‹ Back to blog

Design to Code

Convert Figma to Next.js using AI

July 1, 2025

Written By Matt Abrams

Converting Figma designs into functional Next.js applications is a common and frustrating step in modern web development. The concept of turning a design into code might seem straightforward. But the reality involves navigating complex Next.js patterns, managing component hierarchies, and ensuring the final product actually matches the original vision.

Traditional design-to-code workflows often break down when teams encounter the gap between Figma's visual language and Next.js's architectural requirements (let alone new framework patterns like React Server Components). Simple UI elements become coding challenges, and advanced features like server-side rendering and client-side hydration add layers of complexity that design tools simply can't anticipate.

What is Fusion?

Fusion is the first visual AI agent that can autonomously build and edit enterprise-scale Next.js applications. It integrates directly with your existing codebase, understands your design systems, and creates production-ready code that works with your current architecture. For instance, Fusion will match your preferred Next.js routing patterns, whether you’re using the old Pages router or the newer App router.

Available as both a browser-based platform and a plugin for popular IDEs like Cursor, Windsurf, and VS Code, Fusion works within your established development environment rather than forcing you into a separate workflow.

Fusion enables your entire team to work with Next.js code, import designs and styles from Figma files, and create optimized components that work with client-side or server-side rendering.

To convert Figma designs into Next.js code, first export your designs using the Builder.io Figma plugin. Then, attach these designs as context to your Fusion prompt and specify how you want to integrate the design into your Next.js application.

What sets Fusion apart is its ability to generate Next.js-specific code rather than generic markup. It comprehends your existing design system, leverages your current components, and produces scalable code that fits into your project's architecture.

Fusion's capabilities really shine when it comes to converting complex, multi-frame Figma designs. Imagine you've designed a multi-screen user flow in Figma—maybe an onboarding sequence—Fusion can transform all those frames into a single, cohesive Next.js component with full functionality.

There’s no need to build each screen individually and then struggle to connect them together. Fusion recognizes the relationships between multiple Figma designs and builds your intended interactions, all while using your preferred styling approach.

This feature is essential for maintaining design system consistency across your Next.js application. Imagine you've built a banner component in Figma with multiple variants. Fusion can automatically convert these into a Next.js component with the correct prop structure.

The best part is that Fusion’s generated code will match whatever styling patterns and component libraries you’re already using, whether you’re working with established libraries like Shadcn and Tailwind CSS or your org’s internal design system.

Often, you're not starting from scratch but need to update existing UI components to align with new design directions. Maybe your app needs to match some new brand colors, or you're finally getting around to that design system update. Instead of manually hunting through your CSS files, you can just paste a Figma frame into Fusion and tell it what styles to update.

Type something like "make this dashboard use the colors from this Figma frame," and Fusion will figure out the mapping between your Figma styles and your actual CSS. It's smart enough to preserve your component structure while swapping out colors, spacing, and typography to match your design tokens.

Nothing frustrates a designer more than seeing a finished product that does not match their high-fidelity designs. Fusion empowers designers to fix these code problems themselves rather than DM an engineer or submit a low-priority ticket. Now, they can click on their components and edit them directly, just like they would edit Figma designs, only now they're working with real code.

Want to adjust that button's border radius? Click and drag. Need more padding on that card? Just grab the handles and resize. You're editing the actual components that will ship to production, so there's no disconnect between what you see and what users get. Hover states, animations, and more all work exactly like they will in the real app.

Fusion creates a new git branch for every session, so your main code stays untouched while you fiddle and experiment. When you're happy with what you’ve built, just press the ‘Create a PR’ button and Fusion will take care of the rest.

Your teammates can then review the PR, leave comments inside the diff, and approve it just like they would for a regular feature. They can also open up your work in Fusion and pick up where you left off. In either case, nothing gets merged until properly reviewed, so you can experiment freely without ever endangering your production code.

Ready to turbocharge your development process? Here's the quick version:

  1. Hook up your repo: Point Fusion at your GitHub repo (works with React, Next.js, Svelte, Vue, or Angular).
  2. Drop in your designs: Paste Figma frames, turn multiple frames into carousels, convert component variants into real React components, or use designs as a reference for matching colors and spacing.
  3. Build stuff: Click around to edit components visually, or use AI prompts to generate new pages, dashboards, and whatever else you need. You can tweak layouts, add features, and move through your project files easily.
  4. See it live: Watch your changes happen in real-time. Paste Figma designs and see exactly how they'll look in your app.
  5. Ship it: Happy with what you built? Submit a PR for your team to review. Same workflow as any other code change.

That's it. Now you can convert Figma designs into working Next.js code in minutes instead of weeks. The docs have all the commands and examples you need to get up and running fast.

Try Fusion now

Check out these other articles on our blog:

Generate clean code using your components & design tokens
Try FusionGet a demo

Share

Twitter / X
LinkedIn
Facebook
Share this blog
Copy icon
Twitter "X" icon
LinkedIn icon
Facebook icon

Visually edit your codebase with AI

Using simple prompts or Figma-like controls.

Try it nowGet a demo

Design to Code Automation

A pragmatic guide for engineering leaders and development teams

Access Now

Continue Reading
AI8 MIN
3 Very Specific Tips from Engineering Leaders for Evaluating AI Coding Tools
June 30, 2025
Design to Code6 MIN
Figma to Code with Fusion AI
June 24, 2025
AI7 MIN
Introducing Fusion: Vibe Code at Any Scale
June 18, 2025