Free web-based drag-and-drop UI designer for ESP32. Create beautiful interfaces with 19+ LVGL widgets, no coding required. Export production-ready YAML for ESPHome.

Introducing ESPHome LVGL UI Designer: Visual UI Builder for ESP32

Free web-based drag-and-drop UI designer for ESP32. Create beautiful interfaces with 19+ LVGL widgets, no coding required. Export production-ready YAML for ESPHome.

Projects & Demos
Last Updated:

I was building an ESPHome display project. Every time I wanted to move a button 10 pixels to the left, I had to:

  1. Edit the YAML coordinates
  2. Recompile the firmware
  3. Upload to the device
  4. Wait and look at the result
  5. Realize it's still wrong
  6. Repeat 20 times

For a button.

The core problem: LVGL is powerful, but hand-coding coordinates into YAML is brutal. You're flying blind, guessing where things will end up on the actual display.

The real problem: LVGL UI designers already existed. But they were generic - built for standalone LVGL projects, generating C code, not understanding ESPHome's YAML workflow at all.

I thought: "There has to be a better way for ESPHome users."

So I built one.

The Solution: Design, See, Deploy #

Every time I was trying to design something, sometimes with a paper and pen, writing down the coordinates, I really wanted to see changes in real time, adjust layouts visually, and export the final YAML without any manual coordinate tweaking.

That's exactly what the ESPHome LVGL UI Designer does.

The Old Way

  • Edit YAML coordinates
  • Compile firmware
  • Upload to device
  • Look at result
  • Button's in wrong spot?
  • Repeat 20 times

The New Way

  • Drag widget onto canvas
  • See it in real time
  • Adjust size/position
  • Export YAML
  • Deploy
  • Done in minutes

Quick Preview: What You're Getting #

Key Features at a Glance #

Drag & drop

Place widgets on a canvas at your display's resolution and see the layout as you build it.

20 widgets at launch

Buttons, sliders, labels, tabs, switches and more. 23 today.

Export YAML

Copy the generated lvgl: config into ESPHome and deploy.

Styling

Colors, borders, padding, corner radius and opacity per widget.

Multiple screens

Several screens in one design, exported as LVGL pages.

Interactive preview

Press buttons, flip switches, drag sliders and switch tabs before you deploy.

The Main Editor Interface #

The interface has six main areas, numbered and color-coded in the screenshot below:

1. Left sidebar (green) - Widgets toolbox #

At launch the toolbox held 20 LVGL widgets in three groups:

GroupWidgets
ContainersTabview, Tileview
DisplayBar, Label, LED, Line, Object, QR Code, Spinner
InputArc, Button, Button Matrix, Checkbox, Dropdown, Keyboard, Roller, Slider, Spinbox, Switch, Textarea

Drag widgets onto the canvas or click + to add. That's it.

2. Main canvas (blue) - Design workspace #

Your visual design area, updated as you edit.

WhereControl
Top-leftLock / pan toggle: drag the canvas without moving widgets
Top-rightThe current zoom level
Bottom-rightZoom: 0.5x, 1x, 2x, 3x, plus reset and fit to view
Bottom-leftHelp

3. Right sidebar, top (red) - Elements tree #

A hierarchical view of every widget on the screen:

  • See every widget you've placed
  • Drag to reorder (this sets the stacking order)
  • Expand and collapse nested containers
  • Click a widget to select it on the canvas
  • Nesting, for example a Tabview with tabs holding buttons

4. Right sidebar, bottom (yellow) - Properties panel #

Edits the selected widget, and the canvas updates instantly:

  • Position and size: X, Y, width, height
  • Colors: background, border and text, with a color picker
  • Styling: border width, corner radius, padding
  • Effects: opacity and font

5. Top area (orange) - Screen tabs and controls #

  • Left: screen tabs. Create a new one with + and switch between them.
  • Center: undo and redo.
  • Right: the resolution selector. At launch it offered 128x64, 128x128, 240x320, 320x240, 480x320, 800x480, 1024x600 and a custom size.

6. Top menu bar (cyan) #

ActionWhat it does
YAMLShows the generated config to copy
PreviewTests the UI before you deploy
ImportLoads an existing design from YAML
HelpDocs and help
ThemeToggles the editor between dark and light

Color & Styling #

Per-widget control

When you select a widget, the properties panel on the right controls how it looks:

  • Background color (with color picker)
  • Border color and width
  • Text color and font
  • Padding
  • Corner radius
  • Opacity

Example: Production-Ready YAML Export #

Here's what the designer generates. This example is an Analytics Dashboard with styled cards and data displays:

The board on the right is a CYD with a 2.8" 320x240 display.

Want to Try It Yourself? #

Copy the YAML below and import it into the designer to see this dashboard come to life. You can then modify colors, add widgets, or use it as a template for your own projects.

Complete YAML Config
lvgl:
pages:
- id: main_page
bg_color: 0x1a1a2e
widgets:
- label:
id: page_title
x: 10
y: 5
width: 295
height: 20
text: "Analytics"
text_color: 0x00d4ff

- obj:
id: card_active
x: 10
y: 28
width: 297
height: 50
bg_color: 0x0f3460
border_color: 0x00d4ff
border_width: 2
radius: 6

- label:
id: label_active
x: 18
y: 32
width: 220
height: 16
text: "Active Users"
text_color: 0x00d4ff

- label:
id: value_active
x: 18
y: 50
width: 220
height: 22
text: "2,847"
text_color: 0xffffff

- label:
id: trend_active
x: 250
y: 32
width: 50
height: 42
text: "+18%"
text_color: 0x00ff88

- obj:
id: card_sessions
x: 10
y: 81
width: 145
height: 45
bg_color: 0x0f3460
border_color: 0x00ff88
border_width: 1
radius: 6

- label:
id: label_sessions
x: 18
y: 86
width: 120
height: 14
text: "Sessions"
text_color: 0x00ff88

- label:
id: value_sessions
x: 18
y: 103
width: 120
height: 18
text: "12.4K"
text_color: 0xffffff

- obj:
id: card_views
x: 165
y: 81
width: 142
height: 45
bg_color: 0x122d60
border_color: 0xff6b35
border_width: 1
radius: 6

- label:
id: label_views
x: 173
y: 86
width: 130
height: 14
text: "Page Views"
text_color: 0xff6b35

- label:
id: value_views
x: 173
y: 103
width: 130
height: 18
text: "38.9K"
text_color: 0xffffff

- obj:
id: card_bounce
x: 10
y: 129
width: 145
height: 45
bg_color: 0x0f3460
border_color: 0xffd60a
border_width: 1
radius: 6

- label:
id: label_bounce
x: 18
y: 134
width: 120
height: 14
text: "Bounce Rate"
text_color: 0xffd60a

- label:
id: value_bounce
x: 18
y: 151
width: 120
height: 18
text: "32.5%"
text_color: 0xffffff

- obj:
id: card_duration
x: 165
y: 129
width: 142
height: 45
bg_color: 0x0f3460
border_color: 0xd946ef
border_width: 1
radius: 6

- label:
id: label_duration
x: 173
y: 134
width: 130
height: 14
text: "Avg Duration"
text_color: 0xd946ef

- label:
id: value_duration
x: 173
y: 151
width: 130
height: 18
text: "4m 32s"
text_color: 0xffffff

- label:
id: last_updated
x: 18
y: 180
width: 280
height: 12
text: "Updated: 2 min ago"
text_color: 0x666666

This was a very early release of the ESPHome LVGL UI Designer. I tested it with the displays I had - a 2.8" CYD at 320x240 and an Elecrow CrowPanel 7" at 800x480 - and it worked well on both.

That said, bugs might exist, especially with different display sizes or edge cases. If you find something broken or have feedback, report issues on GitHub.

I actively monitor the repository and would love to hear about any problems. I hope this project will be driven by community feedback, so your bug reports and feature requests will help make it better for everyone.

ESP32 Compatibility #

Browser Compatibility #

  • Runs in a current Chrome, Firefox, Safari or Edge
  • Nothing to install, and designs are saved in your browser
  • Has a mobile layout, though a desktop screen is the comfortable way to design

What's Changed Since Launch #

The designer has had a lot of work since December 2025. Here is how it differs today, checked against the live version in November 2026.

Projects and presets

Designs are projects, saved automatically in your browser. A new project starts from a board preset (CYD, WT32-SC01 Plus, M5Stack CoreS3 and Dial, Waveshare ESP32-P4 4B, Waveshare 1.54" e-paper, generic ILI9341 and ST7789 modules) or a size: 320x240, 480x320, 480x480, 800x480, 1024x600, 1280x800, round 240, 390 and 454, or custom.

Modes and export

Switch between Design, Split, Code and Preview. The export menu has Copy YAML, Download .yaml and Open Code mode. Help, keyboard shortcuts and the theme toggle moved into the More menu.

23 widgets, regrouped:

GroupWidgets
ContainersObject, Tabview, Tileview
DisplayBar, Icon, Image, Label, LED, Line, Meter, QR Code, Spinner
InputArc, Button, Button Matrix, Checkbox, Dropdown, Keyboard, Roller, Slider, Spinbox, Switch, Textarea

More styling: gradients, outlines, shadows and flex / grid layouts for children, on top of the colors, borders, padding and opacity above.

Canvas: pan, snap and grid toggles, and zoom from 0.25x to 5x.

Import: accepts a full ESPHome config or just the lvgl: block. Everything outside lvgl: (display, Wi-Fi and so on) is kept as it is. For now only the first page is imported.

Not there yet: the preview responds to buttons, switches, sliders, arcs and tabs, but page-to-page navigation actions aren't generated - add those in YAML.

Still free: the editor is free with no sign-up. Optional ready-made component packs are paid.

Keyboard Shortcuts #

Press ? in the designer for the full list. The main ones (Cmd on a Mac):

ShortcutAction
Ctrl + ZUndo
Ctrl + Shift + Z, Ctrl + YRedo
Ctrl + C / X / VCopy / cut / paste the selected widget
Ctrl + DDuplicate the selected widget
Ctrl + G, Ctrl + Shift + GGroup, ungroup
Delete or BackspaceDelete the selected widget
Arrow keysMove 1px (10px with Shift)
Ctrl + P / E / IPreview / export / import
Ctrl + SSave

Why a Visual Designer? #

Visual designerHand-written YAML
Tweaking layoutDrag, see it instantlyEdit, compile, upload, check, repeat
Seeing the resultOn the canvas, then on the deviceOnly on the device
Getting startedPlace widgets, exportLearn the LVGL YAML schema first
CostFreeFree

Ready to Build? #

It's free. It's web-based. No installation. No sign-up. Just open it and start designing.

Frequently asked questions

6 questions

Do I need to know how to code?

No. You place and style widgets visually and export the YAML. You still paste that YAML into an ESPHome config that sets up your display, and wiring the widgets to sensors or actions is done in YAML.

Will it work with my existing ESPHome setup?

Yes, on any ESP32 with a display that ESPHome's LVGL component supports. LVGL arrived in ESPHome 2024.8, and the designer's current exports are tested against recent ESPHome releases, so keep ESPHome up to date.

Can I edit the exported YAML manually?

Yes. The YAML is plain and readable, and the designer has a Code mode for editing it in place. You can also import YAML back into the designer: it accepts a full ESPHome config or just the lvgl: block, though it currently imports only the first page.

What display resolutions are supported?

New projects start from a board preset (CYD, WT32-SC01 Plus, M5Stack CoreS3 and Dial, Waveshare ESP32-P4 4B, and generic ILI9341 / ST7789 modules) or a size: 320x240, 480x320, 480x480, 800x480, 1024x600, 1280x800, round 240, 390 and 454, or any custom size.

Is there a limit to how many widgets I can add?

No hard limit in the designer. The practical limit depends on your device's memory and display capabilities.

How do I get help if I get stuck?

The designer's Help & Docs, GitHub issues and the ESPHome community forums.

Found a bug? Report it on GitHub. Your feedback helps make the tool better!

That's It #

Honestly, if you've been hand-coding LVGL coordinates into YAML, you know how painful it is. Try the designer for five minutes. Drag a button around. Watch it update live. Export the YAML. Boom.

It's free. It's live right now. No sign-up, no hassle.

Open the designer and see what I mean.

Happy building.