adding-tauri-system-tray

Automate system tray integration in Tauri apps with TrayIconBuilder and event callbacks.

30|3|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/dchuk/claude-code-tauri-skills --skill adding-tauri-system-tray
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adding-tauri-system-tray
Source: https://github.com/dchuk/claude-code-tauri-skills/tree/main/tauri/tauri-system-tray
Command: npx skills add https://github.com/dchuk/claude-code-tauri-skills --skill adding-tauri-system-tray

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides developers in implementing a feature-rich system tray (notification area) for Tauri apps, enabling a persistent tray icon, menu items, and event handling.

Core Features & Use Cases

  • Tray icon setup with id/reference
  • Building menus and handling menu events
  • Responding to tray icon and mouse events
  • Updating tray icon, tooltip, and menu dynamically at runtime
  • Use Case: Create a Windows/macOS/Linux app with a responsive tray that minimizes to tray and shows options.

Quick Start

Create a TrayIconBuilder in your setup, attach a menu and event handlers, and run the app.

Frequently Asked Questions about adding-tauri-system-tray

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a system tray to a Tauri desktop app?

Build a system tray in Tauri using TrayIconBuilder during the setup phase to construct persistent tray icons, attach menus, and register event callbacks for cross-platform desktop apps.

How do I handle system tray menu events in Tauri?

Handle Tauri system tray menu events by registering event callbacks within the TrayIconBuilder setup, enabling your desktop app to respond to user interactions and mouse clicks on the tray icon.

Can I dynamically update the tray icon and tooltip at runtime in Tauri?

Yes, you can dynamically update the Tauri tray icon, tooltip, and menu items at runtime, allowing your desktop app to reflect changing application states through the system tray.

Does the Tauri system tray work across Windows, macOS, and Linux?

Tauri system tray integration applies to desktop apps across Windows, macOS, and Linux, enabling persistent tray icons, dynamic menus, and event handling consistently across these platforms.

What is the best way to minimize a Tauri app to the system tray?

The best way to minimize a Tauri app to the system tray is by integrating TrayIconBuilder with a menu in the setup phase, allowing the app window to hide while maintaining user interaction via tray events.