# rlottie (/examples/libs/rlottie)



Plays Lottie vector animations inside LVGL widgets. Enable with `LV_USE_RLOTTIE` in `lv_conf.h`.

Rlottie animation from array [#rlottie-animation-from-array]

<LvglExampleBrief>
  Play a Lottie animation decoded from a JSON byte array in flash.
</LvglExampleBrief>

<LvglExample name="lv_example_rlottie_1" path="libs/rlottie/lv_example_rlottie_1" />

Rlottie animation from file [#rlottie-animation-from-file]

<LvglExampleBrief>
  Play a Lottie JSON file loaded directly through the rlottie stdio path.
</LvglExampleBrief>

<LvglExample name="lv_example_rlottie_2" path="libs/rlottie/lv_example_rlottie_2" />
