LVGL is a portable C UI library for building screens on microcontrollers and application processors, with widgets, layouts, and optional GPU acceleration.
Overview
LVGL lets firmware teams draw full interfaces on resource-constrained hardware without tying to one silicon vendor. It ships with no external dependencies, targets both small MCUs and Linux-capable MPUs, and aims for modest RAM and flash budgets with partial-frame rendering buffers.
The library includes dozens of widgets, a large style property set, flexbox- and grid-like layouts, and bindings between UI elements and application data. Input covers mice, touch, keypads, encoders, and similar devices, and multiple displays can be managed together. Rendering supports gradients, images, shadows, smooth scrolling, UTF-8 text across several scripts, SVG, Lottie, and optional GPU backends.
Integrations appear across RTOS projects such as Zephyr and NuttX, vendor SDKs, and built-in display drivers for common LCD controllers, framebuffer and DRM paths on embedded Linux, and desktop simulators using SDL or similar APIs. A separate LVGL Pro toolkit offers visual editing, Figma import, an online viewer, and CLI export to plain C without adding runtime dependencies.
The core library uses an MIT-style license suitable for commercial products, while Pro tooling has distinct community and commercial terms.
Key features
- Portable C library without dependencies
- Thirty-plus built-in UI widgets
- Flex and grid layout engines
- Data binding between UI and app
- GPU and vector graphics options
- Built-in display and input drivers
- Desktop simulator targets
- Optional LVGL Pro visual editor
Use cases
- Touchscreen interfaces on MCUs
- Wearable and appliance displays
- Embedded Linux panel UIs
- Rapid UI prototyping on a PC