UI Code Generation using ML at VMware

This hackathon-winning project was built at VMware during Borathon and went on to win 1st place across all global submissions. It was later inducted into the VMware CTO Office for its potential in transforming developer productivity. The project used machine learning to convert UI sketches into working front-end code.

Gallery

The image below shows one of the hand-drawn UI sketches we used as training data. Our model was trained to recognize patterns like buttons, text fields, and layout groupings from these examples.

Hand-drawn UI Input

Below is a snapshot taken during the hackathon where we demoed the end-to-end pipeline live in front of judges and peers.

Hackathon Presentation

Demo Video

This is a real demo from our VMware Borathon hackathon. The video shows a team member taking a picture of a hand-drawn UI sketch using their phone. The image is uploaded to our tool, which generates a URL. Visiting that URL renders a live, functional web app based on the original sketch — all generated automatically using our ML pipeline.