Welcome to Design2Code, the ultimate web design to HTML/CSS/JS converter! 🚀✨
Design2Code is an open-source project that converts various web design formats, including sketches, wireframes, Figma, XD, etc., into clean and responsive HTML/CSS/JS code. Just upload your design image, and Design2Code will automatically generate the code for you. It's that simple!
Check out the magic in action! Watch our demo video
https://github.com/mostafasadeghi97/design2code/assets/41698808/d04b95bb-d4cc-46dc-818a-3f251d8ca0f6
try the hosted version: Design2Code Live Demo
try as a GPT: GPT
Design2Code is built using Next.js. Deploy your own instance of Design2Code with just one click using Vercel. Click the button below to get started:
If you are using the Vercel hobby plan, update the maxDuration in app/api/code/route.ts to 10 seconds. see this issue
We welcome contributions from the community! If you have ideas, bug fixes, or enhancements, feel free to create a pull request.
We value your feedback! Reach out directly on LinkedIn: Mostafa Sadeghi
This project is licensed under the MIT License. Feel free to use, modify, and distribute!