README
Figma Capture
Chrome extension that serializes a web page's DOM so you can paste it directly into Figma as editable layers.
How it works
- Add a Figma file key — open the popup, enter a label and the file key from your Figma file URL
- Click the icon — the extension injects Figma's HTML-to-Design capture script, sets the
#figmacapturehash, and reloads the page - Paste in Figma — open your Figma file and paste (
Ctrl/Cmd+V) to get the page as editable layers
The capture script serializes the DOM into a format Figma understands and copies it to your clipboard. The extension icon shows the Figma logo in color when a capture hash is active, and gray when idle.
Features
- One-click DOM-to-clipboard capture
- Multiple Figma file keys with labels
- Switch active key from settings
- Visual icon state (color = hash active, gray = idle)
- Clean hash removal preserving other URL fragments
- No data collection — everything stays in
chrome.storage.local
Getting the file key
From your Figma file URL:
https://www.figma.com/design/aBcDeFgHiJkLmNoPqRsT/My-File
^^^^^^^^^^^^^^^^^^^^^^
this is the file key
Install from source
- Clone this repo
- Run
bun build.js - Open
chrome://extensions - Enable Developer mode
- Click Load unpacked and select the
dist/folder
Privacy
See PRIVACY.md. No data is collected or transmitted.
License
MIT