Welcome to Slint
Seamlessly build elegant GUIs for Embedded, Desktop, and Mobile
The documentation is split into several sections:
Guide This will get you up and running with the tooling for Slint development including the IDE integration via the Slint Language Server (LSP) and Slint Viewer.
It then offers a guide explaining all the key concepts of Slint and how to understand and use the Slint language.
It then offers a guide explaining all the key concepts of Slint and how to understand and use the Slint language.
Reference This contains the API reference for all aspects of the Slint language. All the elements, properties, functions, callbacks and namespaces. It also contains the
API reference for the `std-widgets` library. A set of cross platform components that can be used to build desktop applications.
Tutorial For those that like to learn by example or want to see how to structure a simple application, this section contains a step-by-step tutorial that walks you
through the creation of a simple memory game example.
Platforms & Integration This contains details about the different platforms that Slint supports.
The Language Integration sections detail the API for the Rust, C++, and JS-Runtime versions of Slint.
Documentation features
The documentation includes a lot of code snippets. The language hint lets you know what language the snippet is written in.
Some snippets of Slint code are interactive. You can click the run
button to run the snippet
in a web based live-editing tool called SlintPad ↗.
To easily copy the text of a snippet use the copy button.
Examples that want to help focus on a specific part of the code will have highlights. They are only a documentation feature and you won’t see this kind of highlight when writing your own code.