Features
Everything from a static panel to a full interactive UI
Badges show the tier each capability unlocks at. Items marked Pro are planned and not available yet. html2LVGL is currently in testing.
Layout engine
- Free
Basic box model
Padding, margin, and absolute positioning, mapped to lv_obj_set_size() / lv_obj_set_pos().
- Credits
Full Flexbox & Grid mapping
display: flex and CSS Grid translated to lv_obj_set_flex_flow() / lv_obj_set_flex_align().
Styling
- Free
Solid colors, borders, radii
The essentials for a static panel or dashboard layout.
- Credits
Gradients, opacity, shadows
Two-stop linear gradients, box shadows, and alpha blending carried through to LVGL styling.
Assets & fonts
- Free
Built-in font set
Montserrat, sizes 12–48, no conversion step required.
- Credits
Image widgets
<img> tags become lv_image widgets plus an asset list; convert the image files themselves with LVGL's image converter.
- Pro · coming soon
Asset optimization
Automatic size/format tuning on top of image conversion for production builds.
Interactivity & events
- Free
Static UI
Exactly what you designed, rendered — no interaction states.
- Credits
CSS pseudo-states
:hover and :active map to LV_STATE_PRESSED.
- Pro · coming soon
Custom event handlers
:disabled and :focus map to LV_STATE_DISABLED / LV_STATE_FOCUSED, with empty C callback stubs generated via lv_obj_add_event_cb().
Export targets
- Free
C / C++
Native source, structured the way you would write it by hand.
- Credits
MicroPython & LVGL XML
One-click toggle between all three output formats from the same design.
Developer tooling
- Free
Web app UI
Every tier converts through the same browser-based tool.
- Pro · coming soon
VS Code extension sync
Stream converted code straight into your local PlatformIO or ESP-IDF workspace on save.
- Pro · coming soon
Headless CLI
Convert HTML component libraries to LVGL code as a step in your CI/CD pipeline.
- Pro · coming soon
Multi-screen management
Convert multi-page web prototypes into multi-screen LVGL scene logic.
Supported HTML and CSS
The page is rendered in headless Chromium at your display resolution, so layout comes from a real browser engine. Flexbox maps onto LVGL flex layout; everything else uses exact coordinates.
| HTML / CSS | LVGL |
|---|---|
| display: flex (direction, wrap, justify-content, align-items, gap, flex-grow) | LVGL flex layout |
| display: grid (tracks, gaps, row and column spans) | LVGL grid layout |
| Block and absolute layout | Exact coordinates from the browser layout engine |
| Two-stop linear-gradient | Background color and gradient color |
| box-shadow | Shadow color, blur, offset, and spread |
| :hover and :active declarations | Pressed-state styles |
| overflow: auto / scroll | Scrollable containers |
| button | lv_button with a centered lv_label |
| Text elements | lv_label sized with real LVGL font metrics |
| input type=range | lv_slider |
| input type=checkbox | lv_switch or lv_checkbox |
| input type=text and password | lv_textarea |
| select | lv_dropdown |
| progress | lv_bar |
| table | lv_table |
| img | lv_image plus an asset list |
| Colors, borders, radius, padding, opacity, text styles | LVGL style properties |
Not supported yet
- CSS transforms such as rotation are not converted.
- svg, canvas, video, audio, iframe, object, and embed elements are skipped with a warning.
- Only two-stop linear gradients are converted.
- Custom fonts: text uses the nearest built-in Montserrat size in the hosted converter. The converter engine can build fonts from your own TTF files, but that is not exposed in the hosted converter yet.
Export formats
| Format | You get | Notes |
|---|---|---|
| C | ui_<name>.c and .h exporting ui_create() | No XML runtime needed; works on any LVGL 9.x. |
| C++ | ui_<name>.cpp and .hpp exporting ui_create() | For projects that only compile C++ (C++17). |
| MicroPython | ui_<name>.py exporting ui_create(parent) | Plain lv.* calls for lv_binding_micropython. |
| LVGL XML | <name>.xml component or screen | For the lv_xml runtime in LVGL 9.4. |
Limits by tier
| Limit | Free | Credits |
|---|---|---|
| Output formats | C, C++ | C, C++, MicroPython, XML |
| HTML elements per conversion | Up to 20 | No cap |
| Conversions per day | 5 | No daily cap (credit-metered) |
| Flexbox and grid, gradients, shadows, opacity, images, :hover/:active | Not included | Included |
Ready to convert your first screen?
Start free, no card required — see the Pricing page for what unlocks at each tier.
Sign up free