Figma2Code: Automating Multimodal Design to Code in the Wild
Add the PDF
@openreview[bot] · 2026-11-26 17:37 UTC · c91102064b62
.gitattributes added
+++ b/.gitattributes@@ -0,0 +1,10 @@+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text+/thumbnail.png filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text
.potentialpaper/metadata.json added
+++ b/.potentialpaper/metadata.json@@ -0,0 +1,5 @@+{+ "layout": 7,+ "kind": "paper",+ "key": "576f679a-8787-4814-8461-7b92337709a7"+}
README.md added
+++ b/README.md@@ -0,0 +1,46 @@+# Figma2Code: Automating Multimodal Design to Code in the Wild++The files behind this paper's page on potentialpaper.com: commit, `git push`, and the page+shows your changes.++```text+.+├── paper.json title, authors, abstract+├── owners/ the authors' sections (only they may edit)+├── community/ the community sections (anyone verified)+├── versions/ preprint, camera-ready…: <id>.json and its PDF+├── links/ the links under the title+├── thumbnail.png the picture shown for the paper+├── demos/ demos the sections show+├── reviews/ imported reviews (read-only)+├── README.md this file (the site's)+├── prek.toml checks before each commit (the site's)+├── .gitattributes Git LFS settings (the site's)+└── .potentialpaper/ page metadata (the site's)+```++## Sections++One file each, `NN-slug.md`, shown in file-name order. The first `#` heading is the title. Markdown, or HTML from a+small allowlist. Empty files are not shown. At most 256 KB a file.++## PDFs and pictures++Kept with [Git LFS](https://git-lfs.com): run `git lfs install` once. PDFs up to 40 MB, the picture up to 8 MB.++## Pushing++Run `prek install` once to check each commit as the site will (https://prek.j178.dev). Push to `main`, on top of+the page as it is (`git pull --rebase` first). Use an API key from https://potentialpaper.com/profile as the password, or add an+SSH key there.++## For AI agents++```text+This repo is a page on potentialpaper.com. Read the tree above and change only the files it+says you may: never README.md, prek.toml, .gitattributes or .potentialpaper/.+Write sections in Markdown, one file each, named NN-slug.md.+Before committing, run `prek run --all-files` and fix what it reports.+Commit with a one-line summary, `git pull --rebase`, then `git push`.+If the push is refused, its message says what to fix.+```
community/10-tl-dr.md added
+++ b/community/10-tl-dr.md
community/20-summary.md added
+++ b/community/20-summary.md
community/30-why-it-matters.md added
+++ b/community/30-why-it-matters.md
community/40-critique.md added
+++ b/community/40-critique.md
community/50-errata.md added
+++ b/community/50-errata.md
community/60-reproductions.md added
+++ b/community/60-reproductions.md
community/70-follow-ups.md added
+++ b/community/70-follow-ups.md
owners/10-tl-dr.md added
+++ b/owners/10-tl-dr.md
owners/20-overview.md added
+++ b/owners/20-overview.md
owners/30-results.md added
+++ b/owners/30-results.md
owners/40-demos.md added
+++ b/owners/40-demos.md
owners/50-code-and-data.md added
+++ b/owners/50-code-and-data.md
owners/60-talks.md added
+++ b/owners/60-talks.md
paper.json added
+++ b/paper.json@@ -0,0 +1,22 @@+{+ "title": "Figma2Code: Automating Multimodal Design to Code in the Wild",+ "authors": [+ "Yi Gui",+ "Jiawan Zhang",+ "Yina Wang",+ "Tianran Ma",+ "Yao Wan",+ "Shilin He",+ "Dongping Chen",+ "Zhou Zhao",+ "Wenbin Jiang",+ "Xuanhua Shi",+ "Hai Jin",+ "Philip S. Yu"+ ],+ "abstract": "Front-end development constitutes a substantial portion of software engineering, yet converting design mockups into production-ready *User Interface* (UI) code remains tedious and time-costly. \nWhile recent work has explored automating this process with *Multimodal Large Language Models* (MLLMs), existing approaches typically rely solely on design images. As a result, they must infer complex UI details from images alone, often leading to degraded results. \nIn real-world development workflows, however, design mockups are usually delivered as Figma files—a widely used tool for front-end design—that embed rich multimodal information (e.g., metadata and assets) essential for generating high-quality UI. \nTo bridge this gap, we introduce Figma2Code, a new task that generalizes *design-to-code* into a multimodal setting and aims to automate *design-to-code* in the wild. \nSpecifically, we collect paired design images and their corresponding metadata files from the Figma community. We then apply a series of processing operations, including rule-based filtering, human and MLLM-based annotation and screening, and metadata refinement. This process yields 3,055 samples, from which designers curate a balanced dataset of 213 high-quality cases. \nUsing this dataset, we benchmark ten state-of-the-art open-source and proprietary MLLMs. Our results show that while proprietary models achieve superior visual fidelity, they remain limited in layout responsiveness and code maintainability. \nFurther experiments across modalities and ablation studies corroborate this limitation, partly due to models’ tendency to directly map primitive visual attributes from Figma metadata.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}
prek.toml added
+++ b/prek.toml@@ -0,0 +1,37 @@+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.+# The site checks every push again; these catch mistakes before you commit. The same on every page.++[[repos]]+repo = "builtin"+hooks = [+ { id = "check-json" },+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },+ { id = "end-of-file-fixer", exclude = '^demos/' },+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },+ { id = "check-case-conflict" },+ { id = "check-illegal-windows-names" },+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },+]++# Each JSON file against its schema (https://potentialpaper.com/schemas/).+[[repos]]+repo = "https://github.com/python-jsonschema/check-jsonschema"+rev = "0.39.0"+hooks = [+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/authorPlugins.json"] },+ { id = "check-jsonschema", name = "paper files", files = '^paper\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/paper.json"] },+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "category files", files = '^category\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/category.json"] },+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/org.json"] },+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/link.json"] },+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/version.json"] },+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/thumbnail.json"] },+]++# Sections formatted the way the web editor formats them.+[[repos]]+repo = "https://github.com/rbubley/mirrors-prettier"+rev = "v3.9.9"+hooks = [+ { id = "prettier", files = '^(owners|community)/.*\.md$' },+]
versions/v_imdbb4xu.json added
+++ b/versions/v_imdbb4xu.json@@ -0,0 +1,12 @@+{+ "kind": "submitted",+ "label": "ICLR 2026",+ "url": "https://openreview.net/forum?id=CaXZB6bI31",+ "pdf": {+ "source": "https://openreview.net/forum?id=CaXZB6bI31",+ "license": "CC-BY-4.0"+ },+ "evidence": [+ "https://openreview.net/forum?id=CaXZB6bI31"+ ]+}
versions/v_imdbb4xu.pdf added
+++ b/versions/v_imdbb4xu.pdf@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:a5458d0eede9e8c5990eec98284b3a72269b3c7f853ed0e21dbc97d9c6ebda15+size 9436197