/frameless-example

NW.js frameless window example

Primary LanguageHTMLMIT LicenseMIT

NW.js Frameless window example

Screenshot

Features:

  • Custom title bar for dragging
    • Acts as a native title bar, so double-clicking will maximize and dragging to the edge of the screen works like normal
  • Custom, pure CSS, window controls:
    • minimize
    • maximize
    • restore
    • close
  • Transparent window with rounded corners
  • Rounded corners are removed when maximized
  • Adjustable background transparency
  • Simplified example for easier copy/pasting

Environment set up

  1. Download/install Node.js
  2. Download or clone the repo
  3. Run npm install

Running locally

  1. Do the environment setup
  2. Run npm start