Skip to content
ModUI: Multimodal UI Generator

ModUI: Multimodal UI Generator

Instantly create beautiful, editable UIs from product images and prompts — export to HTML, JSX, or Shopify in seconds.

Created on 13th April 2025

ModUI: Multimodal UI Generator

ModUI: Multimodal UI Generator

Instantly create beautiful, editable UIs from product images and prompts — export to HTML, JSX, or Shopify in seconds.

The problem ModUI: Multimodal UI Generator solves

Creating landing pages or product UIs that match a brand’s tone and style can take hours or even days. Designers and developers often need to go back and forth — picking colors, choosing fonts, and writing HTML or React code — just to make something simple look on-brand. This slows down eCommerce teams who want to launch products quickly.

ModUI solves this by doing the heavy lifting automatically. You just give it a product image, a font name, and a simple description of what you want. It instantly pulls out brand colors from the image, applies your chosen font, and generates a clean UI using Tailwind CSS. You can preview the result live, make edits, and export it directly to HTML, React JSX, or even Shopify-ready code.

It saves a huge amount of time, keeps your design consistent, and helps teams move faster — especially useful for fast-paced marketing campaigns or startups without full-time designers.

Challenges I ran into

This project had its fair share of surprises and tricky moments.

One of the earliest challenges was getting the React frontend and FastAPI backend to talk smoothly — especially when dealing with file uploads. For a long time, uploading an image just wasn’t working. The UI looked fine, but the backend never received the file. After hours of debugging, we realized the problem was with how multipart form data was being handled and fixed it by restructuring the request payload.

Then came the infamous [object Object] bug — the live preview was just displaying that instead of actual UI. Turns out we were sending the entire code dictionary to the frontend instead of extracting the specific HTML or JSX string. Once we fixed the data structure and used data.code.html or data.code.jsx, the preview worked perfectly.

We also wanted to support multiple output formats (HTML, JSX, Shopify) while keeping the UI editable. That meant storing both the original code and the user's modified version, and making sure switching between formats didn’t overwrite any edits. Managing these states without breaking the preview or download functionality required some careful refactoring.

Another challenge was UX polish. We didn’t want just a working tool — it had to feel clean and intuitive. So we added custom button animations, subtle hover effects, transitions, and a gradient background to make the app look professional. Ensuring the Tailwind-generated UIs looked good inside an iframe preview was another small but important design fix.

Finally, time was a constant pressure. There was always one more feature we wanted to add, but we had to keep things stable and focus on submission quality. All in all, the learning curve was steep — but incredibly rewarding.

Tracks Applied (1)

E2E Networks Track

ModUI: Multimodal UI Generator leverages E2E Networks' compute capabilities to deliver fast and scalable UI generation u...Read More
E2E Networks

E2E Networks

Discussion

Builders also viewed

See more projects on Devfolio