Preview of FigitOpen figit.design

figit.design

Figit

Open-source library that converts HTML into editable Figma layers via copy-paste. Works by walking DOM and reading computed styles. Supports text, images, SVG, gradients, shadows, borders.

Visit project

Show me a random project

First shared
Jul 1, 2026
HN activity
10

Show HN@mattiapomelliJul 1, 2026

Show HN: Open-source library to copy-paste HTML into Figma as editable layers

I built a library that lets you copy HTML rendered in the browser and paste it into Figma as editable layers. I was tired of using plugins. Copy-paste is a much better UX in my opinion. It works by walking the DOM, reading computed styles for each node, and assembling the clipboard payload that Figma expects. The last step was the hardest part since Figma’s clipboard structure has almost no public documentation and it’s more like an internal thing. I went through a lot of trial and error but finally got something that works decently, although there are still some issues. Right now it covers editable text, images, SVG paths and shapes, linear gradients, shadows, borders, form placeholders, multi-frame canvases. Auto-layout is next on the list. Would love to see bug reports and contributions.

Community

Hacker News discussion

Loading the thread…