A template for a Rust Application using Slint. This is meant to be used with cargo-generate.
327
stars
42
commits
Rust
primary language
Jun 24, 2026
updated
A template for a Rust application that's using Slint for the user interface.
This template helps you get started developing a Rust application with Slint as toolkit
for the user interface. It demonstrates the integration between the .slint UI markup and
Rust code, how to react to callbacks, get and set properties, and use basic widgets.
rustc compiler and the cargo build system installed in your PATH.mv slint-rust-template-main my-project
cd my-project
cargo:
cargo build
cargo run
We recommend using an IDE for development, along with our LSP-based IDE integration for .slint files. You can also load this project directly in Visual Studio Code and install our Slint extension.
We hope that this template helps you get started, and that you enjoy exploring making user interfaces with Slint. To learn more
about the Slint APIs and the .slint markup language, check out our online documentation.
Don't forget to edit this readme to replace it by yours, and edit the name = field in Cargo.toml to match the name of your
project.
Rust
59.9%
Slint
40.1%
A template for a Rust Application using Slint. This is meant to be used with cargo-generate.
327
stars
42
commits
Rust
primary language
Jun 24, 2026
updated
A template for a Rust application that's using Slint for the user interface.
This template helps you get started developing a Rust application with Slint as toolkit
for the user interface. It demonstrates the integration between the .slint UI markup and
Rust code, how to react to callbacks, get and set properties, and use basic widgets.
rustc compiler and the cargo build system installed in your PATH.mv slint-rust-template-main my-project
cd my-project
cargo:
cargo build
cargo run
We recommend using an IDE for development, along with our LSP-based IDE integration for .slint files. You can also load this project directly in Visual Studio Code and install our Slint extension.
We hope that this template helps you get started, and that you enjoy exploring making user interfaces with Slint. To learn more
about the Slint APIs and the .slint markup language, check out our online documentation.
Don't forget to edit this readme to replace it by yours, and edit the name = field in Cargo.toml to match the name of your
project.
Rust
59.9%
Slint
40.1%