slint/examples/carousel
Nigel Breslaw 048c0eaf08
Update example readmes
Tidy up the main examples/README.md.
All the main examples now live in a table with a thumbnail and description.
Then each project has it's own README.md with more details.
2024-08-13 11:35:39 +02:00
..
cpp Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
esp-idf Fix esp-idf carousel build 2024-07-09 08:56:45 +02:00
node Bump version number to 1.7.2 2024-08-09 09:52:17 +00:00
rust Bump version number to 1.7.2 2024-08-09 09:52:17 +00:00
ui cleanup examples according to upcoming code guidelines (#3809) 2023-11-02 11:04:40 +01:00
README.md Update example readmes 2024-08-13 11:35:39 +02:00

A custom carousel widget that can be controlled by touch, mouse and keyboard

The example can be run on desktop, wasm and mcu platforms

.slint Design Rust Source C++ Source Node Source Online wasm Preview Open in SlintPad
ui.slint main.rs main.cpp main.js Online simulation Preview in Online Code Editor

Screenshot of the Carousel Demo

See the MCU backend Readme to see how to run the example on a smaller device like the Raspberry Pi Pico.

The example can run with the mcu simulator with the following command

cargo run -p carousel --no-default-features --features=simulator --release