Build LVGL with your project
Cargo compiles the included LVGL 9.6 source and generates Rust bindings. Add your own lv_conf.h, C sources and fonts to the same build.
Configure the buildBring LVGL widgets, layouts and animations to your embedded Rust application. Build with Cargo, try your interface on the desktop, then connect your device's display and input.

Cargo compiles the included LVGL 9.6 source and generates Rust bindings. Add your own lv_conf.h, C sources and fonts to the same build.
Configure the buildCall typed widget APIs directly, or add rs_lvgl_ui to describe screens with functions and handle input with messages.
Arrange widgetsEnable widgets, fonts and media support through Cargo features. Start with the defaults, then select a smaller set for your device.
Choose featuresUse the library in a no_std application with an allocator. Supply display refresh, input and timing from your platform code.
Connect a deviceToggle notifications and watch the state and count change. The code alongside it is the Rust application running in the preview. Edit the title or event handling and select Run to try it in your browser.
Loading the interactive example…
Start with a screen, connect it to your platform, or look through the complete examples.