Build a desktop application with a native UI that runs on Windows, macOS, and Linux without rewriting the interface.
Create a control panel for an embedded device like a smart thermostat or industrial machine using a single UI definition.
Design a web-based app with a native-feeling interface by compiling your Slint UI to WebAssembly.
Prototype and iterate on a UI design quickly using the live-preview tool while writing your app logic in your preferred language.
Requires Rust toolchain and potentially WebAssembly build tools; compilation time may be significant on first run.
Slint is an open-source toolkit for building graphical user interfaces (GUIs), the visual windows, buttons, menus, and forms that people interact with in apps. It is designed to work across desktop computers, embedded devices (like microcontrollers and single-board computers), and the web. The way Slint works is that you describe what your interface looks like using a special markup language saved in .slint files, similar in spirit to how a web page is described in HTML. This UI definition is kept separate from the actual program logic, which you write in Rust, C++, JavaScript, or Python. The .slint files are compiled ahead of time into efficient native code, rather than being interpreted at runtime, which keeps the app fast and lightweight. You would use Slint when building a desktop app, an app for a small embedded device (like a smart thermostat or industrial panel), or anything that needs a real native window with buttons and visual elements. It is especially useful when you want the same UI design to work across different platforms without rewriting it each time. The toolkit is written in Rust but exposes APIs for four languages: Rust, C++, JavaScript, and Python. It includes a live-preview tool, a Visual Studio Code extension, and a plugin for importing designs from Figma.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.