electron-frame

1.6.0 • 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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.6.0
    61
    • latest

Version History

Package Sidebar

Install

npm i electron-frame

Weekly Downloads

71

Version

1.6.0

License

MIT

Unpacked Size

42.5 kB

Total Files

44

Last publish

Collaborators

  • arthur-lobo