Tray Applications & Badges
Create applications that run in the system tray or dock, providing quick access and displaying badges for unread notifications.
Intro to Tray & Dock Apps
Welcome! In this lesson, you'll learn how to make your Electron apps live in the system tray or macOS dock. These are great spots for apps that run in the background or need quick access.
The system tray (also known as the notification area) is usually found near the clock on Windows and Linux. On macOS, apps often have icons in the dock or the menu bar at the top.
Why Use Tray/Dock Features?
Integrating with the system tray or dock offers several benefits for your Electron application:
- Quick Access: Users can interact with your app without opening its main window.
- Background Tasks: Ideal for apps that run continuously, like chat clients or utility tools.
- Status Updates: Display simple status indicators or unread notification counts.
- Resource Efficiency: Allows the main window to be hidden, reducing screen clutter.
All lessons in this course
- Working with Native Modules
- Tray Applications & Badges
- Screen Capture and Media
- Power and Hardware Monitoring