Desktop notifications

The notification module in Electron allows you to add basic desktop notifications.

Electron conveniently allows developers to send notifications with the HTML5 Notification API, using the currently running operating system’s native notification APIs to display it.

Note: Since this is an HTML5 API it is only available in the renderer process.

Open the full API documentation(opens in new window) in your browser.

Basic notification

This demo demonstrates a basic notification. Text only.

Notification with image

This demo demonstrates a basic notification. Both text and a image