Skip to content

Simple Electron library for creating custom frames in frameless windows.

License

Notifications You must be signed in to change notification settings

ArthurLobopro/electron-frame

Repository files navigation

Electron Frame

Electron Frame is a simple and customizable window frame built with HTML for your application.

ScreenShots

Windows Frame

Frame Windows Dark

Frame Windows Dark

MacOS Frame

Frame MacOS Dark

Frame MacOS Dark

Screenshots taken on dicionario.js projetct.

How to use

  • Install electron-frame in your project with yarn add electron-frame or npm install electron-frame
  • On the main process, add:
require("electron-frame/main")
  • On preload script, add:
const { ElectronFrame } = require("electron-frame/renderer")
window.addEventListener('DOMContentLoaded', () => {
    const frame = new ElectronFrame()
    frame.insert()
})
  • You can customize your frame by passing some options in the ElectronFrame class instance or using the special class methods.

About

Simple Electron library for creating custom frames in frameless windows.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published