ESP32 visual + code development

ForgeUI Studio · ESP-IDF · LVGL 9

Visual LVGL UI development for ESP32

Design it. Simulate it. Build it. Flash it. Watch it run.

ForgeUI Studio is a visual LVGL UI builder for ESP32. Connect supported controls in the Inspector, run generated C with real LVGL 9.2.2 in your browser, then build, flash and monitor supported hardware without leaving Hosted Studio.

Free for home & personal use. Business and commercial use is licensed separately. Supported browser and WebSerial-compatible hardware are required for device connection.

ForgeUI Hosted Studio · Browser workspace
Design · Sim · Build · Flash · Serial
ForgeUI Hosted Studio browser workspace for ESP32 visual and code development

ForgeUI brings visual embedded UI and HMI development to ESP32, including supported ESP32-P4 and ESP32-S3 hardware. ForgeUI Hosted Studio turns LVGL 9 designs into native LVGL C for browser simulation, ESP-IDF builds and browser flashing where supported. You can also export a standalone ESP-IDF firmware project and continue development with your own toolchain.

Production-live workflow

From canvas to hardware

Design it. Simulate it. Build it. Flash it. Watch it run.

ForgeUI Hosted Studio carries supported ESP32 targets from a board-aware canvas and generated LVGL simulation through hosted ESP-IDF builds, browser flashing and live serial output.

  1. 01

    Design

  2. 02

    Preview

  3. 03

    Sim

  4. 04

    Build

  5. 05

    Flash

  6. 06

    Serial

Browser Build & Flash and Serial require a compatible desktop browser, Web Serial and a supported board profile.

ForgeUI-generated industrial interface running on an Elecrow CrowPanel ESP32 7-inch display
Real hardware result. A ForgeUI-designed interface on the supported CrowPanel ESP32 7-inch Basic, SKU DIS08070H, PCB V3.0.

Physically tested hardware

One shared workflow, accepted across S3 and P4 displays.

Review support boundaries →

Physically validated

Elecrow CrowPanel ESP32 7-inch Basic

ESP32-S3 · 800 × 480

Physically validated

Waveshare ESP32-P4-WIFI6-Touch-LCD-7B

ESP32-P4 · 1024 × 600

Physically validated

Guition JC8012P4A1C ESP32-P4 10.1-inch

ESP32-P4 · 800 × 1280 portrait

Physically validated

Waveshare ESP32-S3-Touch-LCD-7B

ESP32-S3 · 1024 × 600

Validation covers the named supported targets and does not imply universal ESP32 board compatibility.

LVGL Simulator · Live in Hosted Studio

Real LVGL. Right in your browser.

Run generated C with real LVGL 9.2.2 compiled to WebAssembly before connecting a board. Test navigation and native controls with pointer interaction, then use Runtime Controls to inject approved simulated application or sensor values.

Design & Connect

Build on the board-aware canvas, then connect compatible semantic values in the Inspector. The current Visual Logic slice supports direct numeric bindings.

Simulate & Test

Run the generated interface in real LVGL. Transient Runtime Controls call approved FLOAT Runtime SDK setters so you can test live values and binding fan-out.

Export or Flash

Export the generated application architecture or build ESP-IDF firmware and flash a supported ESP32 board through browser Web Serial.

Designed HMI

Your canvas components, generated C and saved Visual Logic bindings are part of the application.

Sim test controls

Runtime Controls are developer-only, Sim-only and transient. They are not added to the HMI, persisted as project defaults, custom C, or hardware I/O configuration.

Hosted Sim runs generated, data-only display projects. It does not emulate ESP32 hardware or run developer-owned Hybrid C. Developer-owned Hybrid C, hardware services and application logic run through exported firmware or Build & Flash on the target. There, generated component setters connect sensors, ADC, CAN, UART and application state to the UI.

Design · Connect · Simulate · Flash

Connect compatible component values without writing glue C.

Visual Logic lets one supported semantic source drive multiple compatible display targets. Each target keeps its own configured range, clamping, formatting and component behaviour.

In the proven workflow, Analog Input Measurement.value fans out to Pressure Measurement, Sensor Tile, Premium RPM Gauge and Tank Level Card.

Real LVGL 9.2.2Generated CWebAssemblyDirect numeric binding
See Visual Logic and simulated I/O →
ForgeUI Visual Logic simulated I/O updating multiple LVGL components from one Analog Input value in the browser simulator
One input. Multiple live displays. No glue C. Runtime Controls inject a transient test value into the generated semantic setter; the binding fan-out updates the real LVGL interface.

Existing Slider → Gauge proof

The earlier direct Slider binding remains supported. Drag the real LVGL Slider in browser Sim and watch the generated gauge respond.

Visual Slider → Gauge binding. Playback is user-controlled and the 72-second video is not downloaded until requested.

Physically proven on ESP32-P4

Wireless Relay

Control real ESP32 relay nodes wirelessly from a ForgeUI ESP32-P4 touchscreen.

The proven controller is the 1024 x 600 Waveshare ESP32-P4-WIFI6-Touch-LCD-7B. It manages ESP32-WROOM-32E Relay X2 remotes using the ForgeUI esp32-relay-x2 profile.

  • Multiple Wi-Fi relay remotes
  • Dynamic runtime relay panels
  • Online and offline status
  • Friendly Aliases
  • Main remote selection
  • Hide Not Connected

Relay controls are generated on the physical controller at runtime from configured remotes. The Studio editor intentionally does not display fake relay panels. The ESP32-S3-Touch-LCD-7B is not currently supported as a Wireless Relay controller.

Open Hosted Studio →
Physical Waveshare ESP32-P4 touchscreen running ForgeUI Wireless Relay with two offline remotes and one online Relay X2 remote
Live runtime proof. The physical P4 controller creates its relay panels from the configured remotes and reports their connection state.

Configure → Build & Flash → Connect → Switch

A complete physical workflow.

Configure the controller and Relay X2 project in ForgeUI, Build & Flash from Hosted Studio, then manage connected nodes and switch the physical relays from the touchscreen.

Remote Management on the physical ESP32-P4 controller showing online and offline remotes, Friendly Aliases, Main selection and Hide Not Connected
Manage remotesFriendly Aliases, Main remote selection and Hide Not Connected are configured on the physical controller.
ForgeUI Hosted Studio confirming a successful browser flash to the Waveshare ESP32-P4-WIFI6-Touch-LCD-7B
Build & FlashHosted Studio builds, detects the ESP32-P4 and flashes the controller from a compatible desktop browser.
Physical ESP32-WROOM-32E AC dual-relay node with both Relay X2 channels energised
Switch real relaysThe canonical ESP32-WROOM-32E AC dual-relay remote physically switching both Relay X2 channels.

One connected browser workflow

From interface geometry to live device output.

Display projects use the complete path. Headless projects start in Code and use the same build, flash and Serial pipeline.

  1. 01Design
  2. 02Simulate LVGL
  3. 03Build & Flash

Display: Design → Simulate LVGL → Build & Flash → Real hardware

Headless: Code → Build → Flash → Serial

Visual design + real source

Design the interface without giving up the firmware.

Board-aware visual design

Drag and drop onto a board-sized Canvas, adjust geometry and appearance in the Inspector, fit or zoom, then check the result in Browser Preview. Generate native LVGL 9 instead of rebuilding the interface by hand in C.

  • Native + premium widgets
  • Editable properties
  • Premium RPM Gauge + Speedometer
  • Target-display geometry

Dashboard Card, Sensor Tile, Relay Panel, PWM Controller, Setpoint Feedback, Trend Chart, Trend Chart Pro, Alarm Panel, IO Monitor, Battery Card, Tank Level Card, Network Status, Device Summary, KPI and Power Flow.

Explore native and dashboard components →UI Library →

Real ESP-IDF code workspace

Work with an actual file tree, multiple tabs and editable user-owned C source. Generated files stay protected; Rewind, compiler Problems and diagnostic-to-source navigation keep changes understandable.

ForgeUI Code workspace showing ESP-IDF C source, a file tree and multiple editor tabs
ForgeUI Hybrid

Visual components. Editable application behaviour.

Drop an RPM Gauge, let ForgeUI generate its firmware API, then write the behaviour in user-owned code. Build, flash and watch the physical gauge respond—without editing the generated UI layer.

Connect 95_UserEvents.c hooks and runtime setters →

DROP RPM GAUGE → GENERATED API → USER CODE → BUILD → FLASH → MOVING PHYSICAL GAUGE

ForgeUI visual workspace connecting generated LVGL components to editable application code

Live Examples Library

20 examples. Real editable source.

Search by category, understand board compatibility, hardware requirements, dependencies, provenance and licensing, then choose Use Example to start from the source.

The expanded ESP-IDF example set is currently focused primarily on the ESP32-S3 Super Mini; not every example targets every supported board.

Getting Started
GPIO
FreeRTOS
Timers
Storage
System
Wi-Fi
Networking
Power
ForgeUI Hybrid

Hosted ESP-IDF 5.5.4

Build, connect, verify, flash and monitor.

Compile generated UI and user code without maintaining a local toolchain. ForgeUI handles dependencies, returns verified firmware artifacts and maps compiler diagnostics into Problems. A successful build remains available even if device connection fails.

Browser flash

BUILD → CONNECT → DETECT CHIP → VERIFY FIRMWARE → FLASH → RESET

Supported ESP32-S3 and ESP32-P4 profiles require a compatible desktop browser, WebSerial and supported hardware.

Live Serial

Move directly from flashing to live application output through the shared device session, with auto-scroll and a bounded output buffer.

ForgeUI browser Serial monitor displaying live ESP32 application output

Proven on physical hardware

More than a mock-up or code-generation concept.

Physically proven

ESP32-S3 Super Mini

Headless

Code/example → Hosted Build → Flash → Serial → real output

Physically proven

Waveshare ESP32-S3 Touch LCD 7B

1024 × 600

Hybrid Design + Code → moving physical RPM gauge

Physically proven

Waveshare ESP32-P4 WiFi6 Touch LCD 7B

1024 × 600

Mature Hybrid build, flash and display workflow

Physically proven

Guition JC8012P4A1C

800 × 1280 portrait

Proven platform, build, flash and display workflows

Experimental registered profiles

Experimental: ESP32-S3 DevKitC-1 N16R8 · ESP32-S3 DevKitC-1 HW-678 / SPARKE XH-S3E. Capabilities vary by profile; registration does not imply identical peripheral or display support.

Review supported hardware →

Optional AI Layout Generator

A faster, board-aware visual starting point.

Generate structured, board-aware and palette/appearance-aware layouts constrained to supported components. ForgeUI validates geometry and repairs supported layout issues before you continue editing on the Canvas. Review generated results; automatic asset selection and complex-prompt results still have limits.

ForgeUI AI Layout Generator creating a structured board-aware starting layout

Questions

ForgeUI Studio FAQ

What is ForgeUI Studio?+

A browser-based visual and code development platform for supported ESP32 projects using ESP-IDF and LVGL.

Does ForgeUI generate LVGL code?+

Yes. ForgeUI generates native LVGL 9 interface code and a real firmware API from visual designs.

Can I edit ESP-IDF code in ForgeUI?+

Yes. The Code workspace edits real ESP-IDF C source while protecting Studio-managed generated files from accidental changes.

Do I need ESP-IDF installed locally?+

Not for Hosted builds. ForgeUI Hosted Studio currently builds with ESP-IDF 5.5.4. Exported projects can also be developed locally.

Can ForgeUI flash ESP32 from the browser?+

Yes, for supported ESP32-S3 and ESP32-P4 targets in a compatible desktop browser using WebSerial.

Can I build headless ESP32 projects?+

Yes. Headless projects use Code → Build → Flash → Serial without the visual Design step.

Does ForgeUI include examples?+

Yes. The live library contains 20 searchable, categorized and board-aware examples. The expanded ESP-IDF set is currently focused primarily on ESP32-S3 Super Mini.

Can I simulate the generated UI?+

Yes. Hosted LVGL Simulator runs generated C with real LVGL 9.2.2 in WebAssembly, including native pointer interaction. Sim V1 covers UI behaviour; hardware services and custom C require target firmware.

Do I need to disable firmware settings for Sim?+

No. Simulation uses a separate UI-only generation profile and preserves your saved hardware settings for Build & Flash.

Open source + Hosted

Choose the development path that fits.

Public ForgeUI Studio and shared modules are open source under their applicable licences. ForgeUI Hosted provides the managed build and commercial service infrastructure. Third-party dependencies and examples retain their own licences and notices.

See the repository and website terms and notices for the applicable boundaries. Join the Facebook Community for projects and discussion.

View Open-Source Project (opens in a new tab)

ForgeUI Studio

Try ForgeUI Studio free.

Hosted Studio is free for personal and non-commercial use, with no time limit. Business / commercial use requires a Business licence. AI generation uses separate AI Credits.