Discover and explore top open-source AI tools and projects—updated daily.
VLM for UI design to React code translation
Top 58.9% on SourcePulse
Flame is an open-source multimodal AI system designed to translate UI design mockups into high-quality React code. It addresses the limitations of existing models in generating static, non-modular code for front-end development by providing a comprehensive framework for data synthesis, model training, and evaluation, targeting front-end developers and AI researchers.
How It Works
Flame integrates the Siglip Vision encoder with the Deepseek coder model, enhanced by a novel automated data synthesis pipeline. This pipeline generates diverse, high-fidelity datasets by extracting, rendering, and annotating front-end code snippets, supporting both single and multi-image inputs for improved visual reasoning. The framework employs a three-stage training strategy, including vision encoder pretraining, image layout interpretation, and full instruction-tuning for image-to-code generation.
Quick Start & Requirements
conda env create -f environment.yml
and npm install
.environment.yml
dependencies.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The framework is currently optimized for React-based development, though the methodology is extensible to other frameworks like Vue and Angular. The README does not specify hardware requirements for training or inference, which may be substantial given the multimodal nature of the model.
5 months ago
Inactive