# electron-menubar - [electron-menubar: build menubar desktop apps with Electron](https://electron-menubar.gitify.io/index.md): electron-menubar is a high level way to create menubar desktop applications with Electron, with zero runtime dependencies on macOS, Windows, and Linux. - [Quickstart: create your first Electron menubar app](https://electron-menubar.gitify.io/quickstart.md): Install electron-menubar, create an app entry file and an HTML page, and run your first tray-based Electron menubar application in three steps. - [Control popup dismissal and stacking with hideOnBlur](https://electron-menubar.gitify.io/guides/popup-behavior.md): Keep the electron-menubar popup open and on top or dismiss it on click-away with hideOnBlur, and migrate from 10.x alwaysOnTop workarounds. - [Attach a native tray context menu to your menubar app](https://electron-menubar.gitify.io/guides/context-menus.md): Attach a native Electron Menu to the electron-menubar tray icon with contextMenu, and update it on Linux with setContextMenu and refreshContextMenu. - [electron-menubar example apps: popover, icons, menus](https://electron-menubar.gitify.io/guides/examples.md): Working electron-menubar example apps: Hello World, a popover with an arrow, an animated tray icon, and a native tray context menu, with run steps. - [Tips and recipes for electron-menubar applications](https://electron-menubar.gitify.io/guides/tips.md): Practical electron-menubar recipes: open DevTools after load, react to focus-lost, restore previous window focus, attach menus, and avoid open flashes. - [Menubar class: properties and methods reference](https://electron-menubar.gitify.io/api-reference/menubar.md): Reference for the Menubar class returned by menubar(): the app, window, tray, and positioner properties plus every method for showing, hiding, and cleanup. - [menubar() options: window, tray, position, and triggers](https://electron-menubar.gitify.io/api-reference/options.md): Every option accepted by menubar(): app directory, index URL, BrowserWindow settings, tray icon, window position, triggers, context menu, and shortcuts. - [Menubar events: lifecycle hooks for window and tray](https://electron-menubar.gitify.io/api-reference/events.md): The Menubar class is an event emitter. Reference for ready, create-window, before-load, show, hide, after-close, focus-lost, and other lifecycle events. - [Supported platforms: macOS, Windows, and Linux desktops](https://electron-menubar.gitify.io/platforms/supported-platforms.md): Platforms where electron-menubar is known to work, verified by end-to-end smoke tests and visual tray rendering tests on macOS, Windows, and Linux desktops. - [Window positioning on Linux: Wayland, X11, and XWayland](https://electron-menubar.gitify.io/platforms/linux-window-positioning.md): Why electron-menubar cannot anchor the popover to the tray icon on native Wayland, how X11 and XWayland differ, and how to restore positioning with a flag. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.