electron-frame

1.6.1 • Public • Published

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.

Package Sidebar

Install

npm i electron-frame

Weekly Downloads

4

Version

1.6.1

License

MIT

Unpacked Size

42.6 kB

Total Files

44

Last publish

Collaborators

  • arthur-lobo