Basic Examples

Below are several basic examples. They include the application code that produces the Widget Tree needed to make LVGL render the examples shown.

Edit on GitHub

Below are several basic examples. They include the application code that produces the Widget Tree needed to make LVGL render the examples shown. Each example assumes LVGL has undergone normal initialization, meaning that a lv_display_t object was created and therefore has an Active Screen.

A very simple hello world label

A button with a label and react on click event

Create styles from scratch for buttons

Create a slider and write its value on a label

How is this guide?

Last updated on

On this page