تفاصيل العمل

We recently built UI2Code, a visual website builder that allows users to design pages visually and export a fully working React project.

The goal behind this project was simple:

Many visual builders are great for quick mockups, but when it comes to clean, production-ready code, they often fall short.

UI2Code focuses on bridging that gap — combining visual design speed with real code output developers can use in real projects.

✨ What UI2Code can do

• Drag-and-drop component editing directly on the canvas

• Move & resize controls with focused editing handles

• Responsive viewport switching (desktop / mobile)

• Full properties panel for both the Body and selected elements

• State-based styling: Base, Hover, Active, Focus

• Inline rich text editing directly inside components

• Text formatting tools (alignment, headings, lists, links, etc.)

• Right-click Quick Styles menu for faster styling

• Unit-aware controls (px, %, rem, and more)

♻️ Reusable design tools

• Save styles as reusable CSS classes

• Save designed blocks as reusable components

• Flex container generator with alignment options

• Grid generator with visual configuration

• Navbar generator with configurable structure

• Slider generator with loop and reusable slide content

? Builder experience

• Route-aware layout behavior for child routes

• Sticky side panels while the canvas scrolls

• Undo support (Ctrl + Z)

• Separate Edit / Preview modes for cleaner exports

? Export capabilities

• Export pages as HTML / ZIP

• Export designs as PNG / SVG

• Export the whole project as a React application

The exported React project includes:

• Project structure

• Pages and routes

• CSS / JS files

• Ready-to-run package setup

Users can also save sessions and continue editing later.

⚙️ Tech direction

Built using a React-based builder architecture with dynamic component rendering, style/state parsing, and an automated export pipeline for generating React projects.

We are currently working on improving export quality, advanced component templates, and overall editing UX.

بطاقة العمل