starmage520 commited on
Commit
76647a5
·
verified ·
1 Parent(s): 70b7d30

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +85 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Figma2Code
3
+ language:
4
+ - en
5
+ license: mit
6
+
7
+ configs:
8
+ - config_name: default
9
+ data_files:
10
+ - split: test
11
+ path: data_test/*.parquet
12
+ - split: rest
13
+ path: data_rest/*.parquet
14
+
15
+ dataset_info:
16
+ features: null
17
+ splits:
18
+ - name: test
19
+ - name: rest
20
+ ---
21
+
22
+ # Figma2Code: Automating Multimodal Design to Code in the Wild <span style="font-size:14px;color:gray;">[ICLR 2026](https://openreview.net/forum?id=CaXZB6bI31)</span>
23
+
24
+ Figma2Code is a multimodal design-to-code benchmark, built from community Figma designs and integrating screenshots, structured metadata, and design assets, enabling models to move beyond image-only inputs and better capture practical UI development scenarios.
25
+
26
+ ---
27
+
28
+
29
+ ## Features
30
+
31
+ Each sample contains:
32
+
33
+ - root: UI screenshot (PIL Image)
34
+ - filekey: Figma file identifier
35
+ - node_id: root node id
36
+ - page_url: source URL
37
+ - annotation: annotation text
38
+ - statistics: precomputed statistics
39
+ - raw_metadata: raw Figma node tree (JSON string)
40
+ - processed_metadata: processed node tree (JSON string)
41
+ - image_refs: bitmap assets (path + image)
42
+ - svg_assets: SVG assets (path + content)
43
+
44
+ ---
45
+
46
+ ## Reconstructed Structure
47
+
48
+ Each sample can be reconstructed as:
49
+
50
+ {filekey}_{safe_node_id(node_id)}/
51
+ ├── raw.json
52
+ ├── processed_metadata.json
53
+ ├── report.json
54
+ ├── root.png
55
+ └── assets/
56
+ &nbsp;&nbsp;&nbsp;&nbsp;├── image_refs/
57
+ &nbsp;&nbsp;&nbsp;&nbsp;└── svg_assets/
58
+
59
+ ---
60
+
61
+ ## Usage
62
+
63
+ ```python
64
+ from datasets import load_dataset
65
+
66
+ dataset = load_dataset("xcodemind/Figma2Code")
67
+ test_set = dataset["test"]
68
+ rest_set = dataset["rest"]
69
+ ```
70
+
71
+ ---
72
+
73
+ ## Citation
74
+
75
+ If you use this dataset, please cite:
76
+
77
+ ```text
78
+ @inproceedings{gui2026figma2code,
79
+ title={Figma2Code: Automating Multimodal Design to Code in the Wild},
80
+ author={Gui, Yi and Zhang, Jiawan and Wang, Yina and Ma, Tianran and Wan, Yao and He, Shilin and Chen, Dongping and Zhao, Zhou and Jiang, Wenbin and Shi, Xuanhua and Jin, Hai and Yu, Philip S.},
81
+ booktitle={International Conference on Learning Representations (ICLR)},
82
+ year={2026},
83
+ url={https://openreview.net/forum?id=CaXZB6bI31}
84
+ }
85
+ ```