Skip to content
Projects

slint-ui/slint-rust-template

View on GitHub

slint-ui/slint-rust-template has 341 GitHub stars and 61 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-17 05:10 UTC. Last push 2026-11-16.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

A template for a Rust Application using Slint. This is meant to be used with cargo-generate.

Developer Tools

README.md

Original

Slint Rust Template

A template for a Rust application that's using Slint for the user interface.

About

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.

Usage

  1. Install Rust by following its getting-started guide. Once this is done, you should have the rustc compiler and the cargo build system installed in your PATH.
  2. Download and extract the ZIP archive of this repository.
  3. Rename the extracted directory and change into it:
    mv slint-rust-template-main my-project
    cd my-project    
    
  4. Build with cargo:
    cargo build
    
  5. Run the application binary:
    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.

Next Steps

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.