Answer#
Tauri is a framework for desktop apps with two parts:
- The front end is a web page (HTML, CSS, JavaScript or a framework for them). It is shown in a window by the web view the operating system already provides, rather than a browser shipped inside the app. Tauri's own documentation describes it this way.
- The back end is Rust. The page calls Rust functions ("commands") to read files, talk to the system or do heavy work, and Rust can send events back to the page.
Choose Tauri when:
- The interface is mostly forms, lists, text and rich content, which the web is good at.
- You have web developers, or a web app you want to turn into a desktop program.
- You want Rust only for the parts that need it.
Choose a native Rust toolkit (egui, iced, Slint) when:
- You want one language and one build tool, with no JavaScript package manager.
- You need to draw custom graphics every frame (plots, editors, tools) with direct control over the drawing.
- You do not want your app's look to depend on the web view of each system version.
What to check before committing:
- The web view differs per system. Windows and macOS use different engines, so a page can behave differently on each. Test the page on both.
- Two build chains. You need Node (or another front-end toolchain) as well as Cargo. CI and packaging cover both.
- Security model. The page is code that runs with access to your Rust commands. Tauri documents a permission system for what the page may call; read it before exposing commands.
Common mistakes#
- Assuming the page can use any new browser feature on every system. It can use what the installed web view supports.
- Exposing a Rust command that reads or writes any path. Limit what the page can reach.
Related questions#
Is the Rust code in Tauri "the app"?#
It is the back end. The window and its look come from the page.
Where do I start?#
Tauri's own getting-started guide lists the prerequisites for each operating system; follow it for your system and your version.
Sources#
- Tauri: https://tauri.app/ (read 2026-12-05)
- Tauri documentation, "What is Tauri?": https://tauri.app/start/ (read 2026-12-05)