Skip to content

Get Started

A Slint application is a user interface written in .slint files, connected to business logic in Rust, C++, JavaScript, or Python. This page gets your machine ready for that: an editor that understands .slint, the toolchain for your language, and a project to start from.

Slint provides an editor extension that helps you write .slint code. It gives you syntax highlighting, completion, diagnostics, and a live preview of the UI as you type.

Install the Slint extension for Visual Studio Code, or see Manual Setup for other editors.

If you already use an AI coding agent, the Slint skill teaches it the .slint language and lets it inspect your running application. See AI Coding Assistants for the install command of each tool.

Pick the language you want to write your application logic in.

Install Rust by following its getting-started guide. Slint needs Rust 1.92 or newer; check with rustc --version.

The Slint crate builds as part of your project, so no separate installation of Slint is needed. The Rust API documentation describes how to add it to an existing project.

We also recommend rust-analyzer for Rust support in your editor.

Each language has a template repository with a minimal application that follows our recommended project structure.

In Visual Studio Code, open the command palette and run Slint: Create New Project from Template. It downloads the template for your language into a folder of your choice. See Visual Studio Code for a walk-through with screenshots.

Without VS Code, download the template by hand:

  1. Download and extract the ZIP archive of the Rust template.

  2. Rename the extracted directory and change into it:

    Terminal window
    mv slint-rust-template-main my-project
    cd my-project
    bash
  3. Build and run:

    Terminal window
    cargo run
    bash

Edit the name field in Cargo.toml to match the name of your project.

A window with a counter and a button appears. The UI lives in ui/app-window.slint; the file next to it in src/ (or main.py) holds the application logic.

The templates above build a desktop application. Slint also runs on phones and on embedded devices:


© 2026 SixtyFPS GmbH