Skip to content

Convert any web design screenshot to clean HTML/CSS code

License

Notifications You must be signed in to change notification settings

mdrejhon/design2code

 
 

Repository files navigation

Design2Code

Welcome to Design2Code, the ultimate web design to HTML/CSS/JS converter! 🚀✨

Overview

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!

Demo Video

Check out the magic in action! Watch our demo video

design-to-code.mp4

🌐 Hosted App

try the hosted version: Design2Code Live Demo

Deployment

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:

Deploy with Vercel

If you are using the Vercel hobby plan, update the maxDuration in app/api/code/route.ts to 10 seconds. see this issue

🤝 Contributing

We welcome contributions from the community! If you have ideas, bug fixes, or enhancements, feel free to create a pull request.

📬 Feedback

We value your feedback! Reach out directly on LinkedIn: Mostafa Sadeghi

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute!

About

Convert any web design screenshot to clean HTML/CSS code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.2%
  • CSS 2.5%
  • JavaScript 0.3%