Skip to content

Experimental Features

Experimental features are not part of stable Slint and may change at any time. Their purpose is to let us try new ideas and collect feedback before we commit to them.

Experimental features are opt-in, one at a time. To turn them on for a whole project, list them in experimental-features in a project file:

{
"experimental-features": ["interfaces", "match"]
}
json

Without a project file, or to add to its list, set the SLINT_ENABLE_EXPERIMENTAL_FEATURES environment variable to a comma-separated list of feature names.

The compiler reports an error for an unknown feature name. slint-compiler, slint-viewer, and the interpreter APIs also list the enabled features in an informational message.

Each experimental feature’s page gives the name to enable. The generated Rust new_with_existing_window() and new_with_context() constructors need new-with-existing-window.

Set the SLINT_ENABLE_EXPERIMENTAL_FEATURES environment variable when building your application:

Terminal window
SLINT_ENABLE_EXPERIMENTAL_FEATURES=interfaces,match cargo build
bash

The SLINT_ENABLE_EXPERIMENTAL_FEATURES variable also enables experimental features in slint-viewer. slint-lsp reads it at startup too. Editors can also set the experimental workspace option to an array of feature names.

Add ?EXPERIMENTAL= and a comma-separated list of feature names to the SlintPad URL: snapshots.slint.com/master/editor/?EXPERIMENTAL=interfaces,match ↗.


© 2026 SixtyFPS GmbH