electron-api-demos
Explore the Electron APIs
Electron API Demos is an interactive desktop app that lets you explore Electron's built-in features, menus, dialogs, notifications, and more, live, alongside the source code that powers each demo.
Electron API Demos is a desktop application that shows developers what the Electron framework can do. Electron is a tool that lets you build desktop apps using web technologies like HTML, JavaScript, and CSS. This demo app runs on Windows, macOS, and Linux, and it is itself built with Electron, so it demonstrates the technology by example.
Inside the app, you can browse interactive demonstrations of core Electron features, each paired with the actual source code that powers it. This makes it a learning resource rather than a production tool. If you are curious whether Electron can do something specific, such as manage system notifications, control application menus, or open dialog boxes, you can see it working live and then read the code that makes it happen.
To run the app, you download the latest release or clone the repository, install dependencies with npm, and start it with a single command. Developers who want to dig deeper can launch it in fullscreen mode with developer tools open. The source code also includes documentation explaining how the app is structured and how to add new demos.
Translations of the app are available in Simplified Chinese, Traditional Chinese, and Japanese, maintained by outside contributors.
Where it fits
- Quickly check whether Electron supports a specific OS feature before spending time building it into your app.
- Learn how Electron's dialog, menu, or notification APIs work by seeing a live working example next to its source code.
- Use the demo app as a lookup reference while building your own Electron desktop application.