通过文本命令在 Figma 中创建可重用的 UI 组件
CoGen: Creation of Reusable UI Components in Figma via Textual Commands
AI总结:
CoGen 通过文本指令在 Figma 中利用机器学习生成可重用的 UI 组件,提升设计效率。
摘要:
用户界面设计的演变强调了高效、可重用和可编辑的组件在确保高效设计流程中的重要性。本研究引入了 CoGen,这是一个利用机器学习技术直接在 Figma(最流行的 UI 设计工具之一)中生成可重用 UI 组件的系统。针对当前系统中的空白,CoGen 专注于使用结构化 JSON 和自然语言提示创建原子组件,如按钮、标签和输入字段。该项目集成了 Figma API 数据提取、Seq2Seq 模型和微调的 T5 转换器用于组件生成。关键结果展示了 T5 模型在提示生成中的效率,准确率为 98%,BLEU 得分为 0.2668,确保了 JSON 到描述性提示的映射。对于 JSON 创建,CoGen 在指定组件类型上生成简单 JSON 输出的成功率高达 100%。
英文摘要:
The evolution of User Interface design has emphasized the need for efficient, reusable, and editable components to ensure an efficient design process. This research introduces CoGen, a system that uses machine learning techniques to generate reusable UI components directly in Figma, one of the most popular UI design tools. Addressing gaps in current systems, CoGen focuses on creating atomic components such as buttons, labels, and input fields using structured JSON and natural language prompts. The project integrates Figma API data extraction, Seq2Seq models, and fine-tuned T5 transformers for component generation. The key results demonstrate the efficiency of the T5 model in prompt generation, with an accuracy of 98% and a BLEU score of 0.2668, which ensures the mapping of JSON to descriptive prompts. For JSON creation, CoGen achieves a success rate of up to 100% in generating simple JSON outputs for specified component types.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。