8/21 demo: Building component libraries from Figma with AI

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

Builder logo
builder.io
Contact sales
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

AI

Convert HTML to Design in Figma

August 6, 2025

Written By Vishwas Gopinath

Have you ever needed to convert HTML code into editable Figma designs quickly? Maybe you're working with legacy code, trying to redesign an existing website, or need to import missing design assets from ongoing projects. Perhaps you've received HTML files from a developer and need to transform them into visual designs for iteration.

Or maybe you're collecting design inspirations from various sites and want to convert any website's underlying HTML structure into your own designs without starting from scratch.

We've all faced these challenges, and the traditional approach involves manually recreating HTML elements in Figma, taking screenshots, or painstakingly rebuilding components. This wastes valuable design work time. That's why we built the Builder.io Figma plugin. It lets you convert HTML to design instantly, converting any HTML code or webpage into fully editable Figma designs.

Builder.io Figma Plugin: Free HTML to Figma converter

The Builder.io Figma plugin bridges the gap between code and design, letting you import websites and HTML directly into your Figma workspace. Here's what you can do with it:

Paste a URL, click import, and watch as the Builder.io plugin converts website content into fully editable Figma designs. The plugin maintains visual hierarchy and styling, giving you an accurate representation to work with in your Figma file. We've added Auto Layout support (currently in beta) for users who want more control. This means your imported designs will:

  • Adapt correctly when resizing components
  • Stay flexible while maintaining the original layout structure
  • Let you redesign based on existing implementations rather than starting from scratch

Our HTML to design conversion typically achieves 80-90% accuracy, and we're constantly improving our engine to handle complex layouts, dynamic content, visual effects and intricate details.

Sometimes you just need specific design elements from a webpage, not the full site. Our Builder.io design Chrome extension lets you directly capture specific DOM elements from any webpage, copy them, and import just those elements into your Figma designs.

What makes this especially powerful is the ability to access any webpage, including private webpages behind authentication or your own website running on localhost.

This works great for:

  • Quickly updating specific sections of your existing website in Figma
  • Comparing different component implementations side by side
  • Building your design assets collection
  • Capturing dashboards from internal services, member areas, or local development prototypes

After you import websites or HTML into Figma, the Builder.io plugin takes it further with its "Design with AI" feature. Select your imported Figma frame, enter a prompt, and the plugin generates fully editable Figma designs based on your imported content.

This feature helps with:

  • Exploring redesign options while staying true to your brand
  • Creating multiple component variations for client presentations
  • Breaking creative blocks with AI-powered suggestions
  • Working with templates to generate new design elements

The AI understands color schemes, typography, and visual hierarchy from your HTML code, ensuring generated designs feel cohesive with your brand.

For developers, one of the most useful features is the ability to connect the entire workflow full circle: from HTML to design and back to code. Select any part of your imported or AI-generated Figma design and convert it to clean, production-ready HTML code with just a few clicks.

This feature improves development by:

  • Eliminating manual translation from designs to code
  • Ensuring consistency between Figma designs and implementation
  • Accelerating the prototype-to-production workflow
  • Providing a solid foundation for custom implementations

The generated code is clean, well-structured, and follows modern web standards, ready for integration into your ongoing projects.

The Builder.io Figma plugin offers both free and premium features (no credit card needed for free features). Here's how to start converting HTML to design:

  1. Run the Builder.io Figma plugin
  2. Switch to the "Import" tab
  3. Paste any website URL into the input field
  4. Adjust viewport width across a range of device sizes (optional)
  5. Click "Import" to convert the webpage into your Figma file
  1. Install the Builder.io Chrome extension in your browser
  2. Navigate to the webpage you want to capture
  3. Click "Copy Layout" button in the extension
  4. Select the design elements you need
  5. In the Builder.io Figma plugin, switch to "Import" tab
  6. Paste from clipboard into the "Paste from Chrome" input
  7. The selected elements import directly into your Figma file
  1. Import websites or HTML using the steps above
  2. Select the imported frame in your Figma design
  3. Switch to "Design with AI" tab in the Builder.io Figma plugin
  4. Enter your design prompt
  5. Wait for AI to generate editable Figma designs
  6. Iterate with natural language prompts
  7. Import the generated designs to your Figma file
  1. Select any frame or component in your Figma file
  2. Click the "Export Design" button
  3. Paste the generated npx command into your terminal
  4. Tell AI how the design fits your project (for example, new login component)
  5. Wait for AI to generate code matching your project standards

Converting HTML to fully editable Figma designs means you can start where the previous work left off, not from a blank canvas. Whether you're updating an old project, studying competitor layouts, or syncing your design files with production code, you get real, workable designs instead of static references. The imported content becomes your starting point for experimentation and improvement, cutting project timelines dramatically.

Our import feature was launched just a few months ago, but the plugin will become an essential download if you’re a designer. We're also constantly improving the plugin—working on better auto layouts, support for complex animations, solutions for missing fonts, and more granular import controls. Give it a try and let us know what you think with your feedback!

If you enjoyed this post, check out these related 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
AI4 MIN
Vibe code immersive 3D effects in one prompt
August 10, 2025
AI3 MIN
Introducing Usage-Based Agent Credits
August 7, 2025
AI6 MIN
How to set up and use the Linear MCP server
August 5, 2025