Getting Started

Slint Material Components bring the Material 3 design system to Slint applications.
Start a new project
Section titled “Start a new project”Choose a template to create a ready-to-run project in your preferred language.
Add Material to an existing project
Section titled “Add Material to an existing project”- Download and extract the current release into your project.
- Configure
@materialas a component library using the example for your language below. - Import Material components in your
.slintfiles.
For more information about component-library paths, see the Slint component library documentation ↗.
Configure the component library
Section titled “Configure the component library”In your build.rs, call CompilerConfiguration::with_library_paths
// build.rsfn main() { let config = slint_build::CompilerConfiguration::new().with_library_paths( std::collections::HashMap::from([( "material".to_string(), std::path::Path::new(&std::env::var_os("CARGO_MANIFEST_DIR").unwrap()) .join("material-1.1.0/material.slint"), )]), ); slint_build::compile_with_config("ui/main.slint", config).unwrap();}In your CMakeLists.txt file, use LIBRARY_PATHS in the slint_target_sources function.
slint_target_sources(my_application ui/main.slint LIBRARY_PATHS material=${CMAKE_CURRENT_SOURCE_DIR}/material-1.1.0/material.slint)Provide the libraryPaths map with loadFile:
let ui = slint.loadFile("ui/main.slint", { libraryPaths: { "material": path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "material-1.1.0", "material.slint") }});Provide the library_paths dict with load_file:
ui = slint.load_file( Path(__file__).parent / "ui" / "main.slint", library_paths={ "material": Path(__file__).parent / "material-1.1.0" / "material.slint" },)Next Steps
Section titled “Next Steps”All the documentation for Slint’s Material UI components can be found on this site.
Follow the development in the https://github.com/slint-ui/slint/tree/master/ui-libraries/material ↗.
To learn more about Material Design, dive into Google’s comprehensive Material Design 3 documentation ↗.
Compose designs in Figma by taking advantage of the Material Design 3 Figma Kit ↗
© 2026 SixtyFPS GmbH