LVGL is a free, full-featured embedded UI library for devices from small MCUs to 3D-capable MPUs, enhanced by LVGL Pro, a professional editor and tooling.
LVGL is a free, full-featured embedded UI library for devices from small MCUs to 3D-capable MPUs, enhanced by LVGL Pro, a professional editor and tooling.
Docs • Forum • Blog • Services
EN • 中文 • 日本語 • 한국어 • PT • עברית
Overview • Features • LVGL Pro • Examples • Integration • Contributing • License
LVGL is a free and open-source UI library that enables you to create graphical user interfaces for any MCUs and MPUs from any vendor on any platform.
Requirements: LVGL has no external dependencies, which makes it easy to compile for any modern target, from small MCUs to multi-core Linux-based MPUs with 3D support. For a typical UI, you need only ~100kB RAM, ~200–300kB flash, and a buffer size of 1/10 of the screen for rendering.
Wide adoption: Chip vendors (like NXP, Espressif, Renesas, and so on), RTOS projects (Zephyr, NuttX, etc.), and board manufacturers (Riverdi, Seeed Studio, VIEWE, Elecrow, etc.) have all integrated LVGL already. If a development board has a display, it's very likely the vendor offers LVGL support too.
Professional tools: Instead of writing C code, you can hugely speed up and simplify UI development by using LVGL Pro, a complete toolkit with Editor, Figma integration, Online Viewer, and CLI. It exports pure LVGL C code from XML, with no extra runtime or hidden magic. It's free for non-commercial use and evaluation.
To get started, browse the Examples, spin up a Simulator project, explore the Online Viewer of LVGL Pro, compile and run a UI in a window in LVGL Pro with one click, or dive into our AI-ready Docs. Just click Ask AI and ask anything!
Free, Portable, and Scalable
Widgets, Styles, Layouts, and More
Rendering
Building UIs in C works well, but it gets slow to iterate on and harder to keep consistent as a project grows. LVGL Pro lets you build reusable components and screens visually, preview changes instantly, and manage data bindings, translations, animations, and tests in one place.
Pro exports plain LVGL C code: the same LVGL you already use, with no extra runtime or dependency. It drops into an existing project without changing how you build or ship.
You can try it in the browser at viewer.lvgl.io without installing anything, or download the Editor and use it under the free Community license.
LVGL Pro consists of four tightly related tools:
The Community and Evaluation tiers are free to use; see licensing for commercial use.
You can check out more than 100 C and XML examples at https://lvgl.io/docs/open/examples
The Online Viewer of LVGL Pro also contains many tutorials and the same examples that you can play with interactively.
As a teaser, here is the same simple UI written in C and in XML:
|
|
The XML above is what LVGL Pro works with: you build the screen visually and it generates the C for you.
LVGL has no external dependencies, so it can be easily compiled for any device. It comes with built-in drivers, is available in many package managers and RTOSes, and is also easy to port to any new device.
Chip vendors: ESP32, NXP MCUXpresso component, Renesas FSP, STM32
Frameworks: Arduino, PlatformIO, CMSIS-Pack
Board manufacturers: Seeed Studio, Elecrow, Riverdi, VIEWE, and many more
LVGL ships with ready-to-use drivers, so on common platforms you don't have to write display and input handling yourself:
libinput/evdev for touch and pointer input. Learn more here.See the full list and setup guides in the Integration docs.
In LVGL Pro you can create ready-to-use UI-only, VSCode, Zephyr, and Linux projects with a single click.
Integrating LVGL is very simple. Just drop it into any project and compile it as you would compile other files.
To configure LVGL, copy lv_conf_template.h as lv_conf.h, enable the first #if 0, and adjust the configs as needed.
(The default config is usually fine.) If available, LVGL can also be used with Kconfig.
Once in the project, you can initialize LVGL and create display and input devices as follows:
…LVGL is an open project, and contributions are very welcome. There are many ways to contribute, from simply speaking about your project, writing examples, improving the documentation, fixing bugs, or even hosting your own project under the LVGL organization.
For a detailed description of contribution opportunities, visit the Contributing section of the documentation.
Hundreds of people have already left their fingerprint on LVGL. Be one of them! See you here! 🙂
The LVGL library is distributed under the MIT license, so you can use it freely in both
open-source and commercial products with no royalties. See LICENCE.txt.
All third-party libraries bundled with LVGL are released under MIT-compatible licenses too, so you can use LVGL and its dependencies with confidence.
LVGL Pro has separate licensing:
D/AVE 2D rounded edges artifacts
D/AVE 2D broken for displays with higher resolution than 1024x1024
Proposal: Lightweight path geometry utilities for embedded UI
Clarify the supported gen_json workflow for exporting macros after the docs migration
Docs issue: Styles
Docs suggestion: maintain context across versions when relative path is same
Failing to load .glb/.gltf objects after lv_timer_handler() runs. - wayland display crashes while application keeps running
Certain widget operations suffer from quadratic time blowup
Benchmark showed renderring took too much CPU time with LVGL-9.2.1
When using indexed color modes, why was it made so the palette needs to be stored together in the same array as the pixel map data?