‹div›RIOTS logo
HTML 5 logo, code.to.design logo and Figma logo.

New multi-HTML endpoint in our code.to.design API


code.to.design is our unique technology that converts any HTML, CSS and Javascript to editable Figma designs. It’s the only API for HTML to Figma, and we just made it even better.

Multiple HTML pages → Figma, one API call

Now, you can convert multiple HTMLs to a single Figma result, thanks to a new endpoint in the code.to.design API: /html-multi

In addition to calling /html once per screen, you can now send multiple HTML designs in a single request and get everything back in one, combined Figma result — all screens laid out side by side, ready to use.

Plus, each screen can have its own viewport size, making it easy to import a full set of responsive breakpoints, page variations, or complete screen flows in one go.

Try it in your app!

If you’re looking to extend your app or plugin with the ability to paint onto the Figma canvas, try our code.to.design API and the new multi-HTML endpoint.

👉 More details in our docs