Skip to content

ahkohd/tauri-macos-menubar-app-example

Repository files navigation

Tauri macOS Menubar App Example

This is an example project that shows how to create a macOS Menubar app using Tauri.

This template is based on Tauri + React + Typescript template. It should help get you started developing with Tauri, React and Typescript in Vite.

Prerequisites

Getting Started

  1. Clone this repository:
git clone https://github.com/ahkohd/tauri-macos-menubar-app-example.git
  1. Navigate to the project directory:
cd tauri-macos-menubar-app-example
  1. Run the demo
pnpm install
pnpm tauri dev
  1. Go to your menubar, click the Tauri tray icon.

Demo

See it in action:

Demo

Recommended IDE Setup

Related

The following are related to this project:

  • tauri-nspanel: A Tauri plugin that enables the transformation of a standard application window into a panel, providing panel-specific functionalities and methods. It is designed for versatile application across various projects.
  • tauri-plugin-spotlight: Also a Tauri plugin that helps you to emulate a spotlight window behavior. Unlike the tauri-nspanel or this example project, it does not utilize a panel. As a result, its ability to draw over fullscreen applications on newer macOS versions may be limited.

License

This project is licensed under the MIT License. See the LICENSE file for details.