A template for a Python Application using Slint with material components. Based on the material gallery.
This template helps you get started developing a Rust application with Slint as a toolkit
for the user interface and the material component set. It demonstrates the integration between the .slint
UI markup and Python code, how to react to callbacks, get and set properties, and use of all available
material components for Slint.
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.
- Install uv
- Download and extract the ZIP archive of this repository.
- Rename the extracted directory and change into it:
mv material-python-template-master my-project cd my-project
-
Run the application:
uv run main.py
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. Check out
also the material components documentation