Native Apis - Tauri - Complete Documentation by ntxm.org

Understanding Native APIs

Learn what native APIs are and how Tauri v2 exposes them to your React frontend through a secure IPC bridge

Tauri v2 Permissions & Security

Understand how Tauri v2 locks down frontend-to-backend communication using permissions and capabilities, and how to configure secure access to native APIs.

File System API

Learn how to read, write, and manage files and directories in Tauri v2 using the File System plugin with React and Vite

Dialog API

Learn how to use native system dialogs for file selection, folder browsing, saving files, and displaying messages in Tauri v2 with React

Clipboard API

Learn to read and write system clipboard content in Tauri v2 apps using the official clipboard plugin

Notification API

Learn how to send native OS notifications from your Tauri v2 app using the notification plugin — setup, permissions, sending, and advanced features like channels and actions.

Shell API

Learn how to open external URLs and files with the default system app, run system commands from a Tauri app, and lock down what can be executed using the capability-based security model.

Path API

Learn how to access standard system directories and manipulate file paths using the Tauri v2 Path API from your React frontend.

Resources API

This guide covers embedding and accessing static files like images, fonts, and data in Tauri v2 using the resource bundling system.

Common Errors and Troubleshooting for Tauri v2 Native APIs

A comprehensive guide to diagnosing and resolving typical errors when working with Tauri v2 native APIs in a React and Vite frontend project